log

package
v0.0.0-...-2a6f3c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExecutablePathAndName

func GetExecutablePathAndName() (string, string, error)

GetExecutablePathAndName - get executable path and name

func IsKubernetesEnv

func IsKubernetesEnv() bool

IsKubernetesEnv - is kubernetes environment

Types

type Logger

type Logger struct{}

Log - empty Log struct

func (*Logger) GetLogger

func (Log *Logger) GetLogger(agentType string, level string, agentName string, agentID string, MaxBackupIndex string, MaxFileSize string, LogRotationType string, logHookURL string, client *http.Client, headers map[string]string) logger.Logger

GetLogger - get logger

type LoggerService

type LoggerService interface {
	GetLogger(agentType string, level string, agentName string, agentID string, MaxBackupIndex string, MaxFileSize string, LogRotationType string, logHookURL string, client *http.Client, headers map[string]string) logger.Logger
}

LoggerService - provide log services

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL