Documentation ¶
Index ¶
- Constants
- type AsyncLogger
- func (obj *AsyncLogger) Debug(log LogInfo)
- func (obj *AsyncLogger) Error(log LogInfo)
- func (obj *AsyncLogger) Fatal(log LogInfo)
- func (obj *AsyncLogger) Info(log LogInfo)
- func (obj *AsyncLogger) Init(log LogProps)
- func (obj *AsyncLogger) SetLogLevel(log LogEnabled)
- func (obj *AsyncLogger) StopLogger()
- func (obj *AsyncLogger) Warn(log LogInfo)
- type DefaultLogger
- func (obj DefaultLogger) Debug(log LogInfo)
- func (obj DefaultLogger) Error(log LogInfo)
- func (obj *DefaultLogger) Fatal(log LogInfo)
- func (obj DefaultLogger) Info(log LogInfo)
- func (obj *DefaultLogger) Init(props LogProps)
- func (obj *DefaultLogger) SetLogLevel(log LogEnabled)
- func (obj DefaultLogger) Warn(log LogInfo)
- type GCPLogger
- type LogEnabled
- type LogInfo
- type LogProps
- type Logger
Constants ¶
View Source
const ( GCP_LOGGER = "GCP_LOGGER" DEFAULT_LOGGER = "DEFAULT_LOGGER" ASYNC_LOGGER = "ASYNC_LOGGER" )
View Source
const ( RESET = "\x1b[0m" MAGENTA = "\x1b[95m" YELLOW = "\x1b[33m" GREEN = "\x1b[32m" CYAN = "\x1b[96m" RED = "\x1b[31m" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncLogger ¶
type AsyncLogger struct {
// contains filtered or unexported fields
}
func (*AsyncLogger) Debug ¶
func (obj *AsyncLogger) Debug(log LogInfo)
func (*AsyncLogger) Error ¶
func (obj *AsyncLogger) Error(log LogInfo)
func (*AsyncLogger) Fatal ¶
func (obj *AsyncLogger) Fatal(log LogInfo)
func (*AsyncLogger) Info ¶
func (obj *AsyncLogger) Info(log LogInfo)
func (*AsyncLogger) Init ¶
func (obj *AsyncLogger) Init(log LogProps)
func (*AsyncLogger) SetLogLevel ¶
func (obj *AsyncLogger) SetLogLevel(log LogEnabled)
func (*AsyncLogger) StopLogger ¶
func (obj *AsyncLogger) StopLogger()
func (*AsyncLogger) Warn ¶
func (obj *AsyncLogger) Warn(log LogInfo)
type DefaultLogger ¶
type DefaultLogger struct {
// contains filtered or unexported fields
}
func (DefaultLogger) Debug ¶
func (obj DefaultLogger) Debug(log LogInfo)
func (DefaultLogger) Error ¶
func (obj DefaultLogger) Error(log LogInfo)
func (*DefaultLogger) Fatal ¶
func (obj *DefaultLogger) Fatal(log LogInfo)
func (DefaultLogger) Info ¶
func (obj DefaultLogger) Info(log LogInfo)
func (*DefaultLogger) Init ¶
func (obj *DefaultLogger) Init(props LogProps)
func (*DefaultLogger) SetLogLevel ¶
func (obj *DefaultLogger) SetLogLevel(log LogEnabled)
func (DefaultLogger) Warn ¶
func (obj DefaultLogger) Warn(log LogInfo)
type GCPLogger ¶
type GCPLogger struct {
// contains filtered or unexported fields
}
func (*GCPLogger) SetLogLevel ¶
func (obj *GCPLogger) SetLogLevel(log LogEnabled)
Click to show internal directories.
Click to hide internal directories.