Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetManager ¶
func GetManager() *manager
GetManager - This function returns singleton instance of Logger Manager
Types ¶
type LogMeWrapper ¶
type LogMeWrapper struct {
// contains filtered or unexported fields
}
LogMeWrapper structure - implements Logger interface
func (*LogMeWrapper) Constructor ¶
func (l *LogMeWrapper) Constructor(name string) error
Constructor - It initializes the logger configuration params
func (*LogMeWrapper) Instance ¶ added in v0.0.10
func (l *LogMeWrapper) Instance() *log.Logger
Instance - returns exact logger instance
func (*LogMeWrapper) IsInitialized ¶
func (l *LogMeWrapper) IsInitialized() bool
IsInitialized - that returns boolean value whether it's initialized
func (*LogMeWrapper) Log ¶
func (l *LogMeWrapper) Log(obj *types.LogObject)
Log - write log object to the channel
type OutputOption ¶
type ZapWrapper ¶
type ZapWrapper struct {
// contains filtered or unexported fields
}
ZapWrapper structure - implements Logger interface
func (*ZapWrapper) Constructor ¶
func (l *ZapWrapper) Constructor(name string) error
Constructor - It initializes the logger configuration params
func (*ZapWrapper) Instance ¶
func (l *ZapWrapper) Instance() *zap.Logger
Instance - returns exact logger instance
func (*ZapWrapper) IsInitialized ¶
func (l *ZapWrapper) IsInitialized() bool
IsInitialized - that returns boolean value whether it's initialized
func (*ZapWrapper) Log ¶
func (l *ZapWrapper) Log(obj *types.LogObject)
Log - write log object to the channel
Click to show internal directories.
Click to hide internal directories.