Documentation ¶
Index ¶
- Variables
- func NewLib() interfaces.Logger
- type Modules
- func (c *Modules) Debug(format interface{}, input ...interface{})
- func (c *Modules) Error(format interface{}, input ...interface{}) interfaces.Logger
- func (c *Modules) GetLogLevel() (level interfaces.DebugLevel)
- func (c *Modules) GetOutputFormat() interfaces.OutputFormat
- func (c *Modules) GetPrintToConsole() (pr bool)
- func (c *Modules) Info(format interface{}, input ...interface{})
- func (c *Modules) Init(namespace, version string)
- func (c *Modules) New() interfaces.Logger
- func (c *Modules) NewSystemLogger() *log.Logger
- func (c *Modules) Notice(format interface{}, input ...interface{})
- func (c *Modules) ParsingLog(msg interfaces.LoggerMessage) (raw string)
- func (c *Modules) Printf(f string, data ...interface{})
- func (c *Modules) Quit()
- func (c *Modules) ServiceName() string
- func (c *Modules) ServiceVersion() string
- func (c *Modules) SetLogFile(config interfaces.LoggingFile)
- func (c *Modules) SetLogLevel(level interfaces.DebugLevel)
- func (c *Modules) SetOnLoggerHandler(f func(msg interfaces.LoggerMessage, raw string))
- func (c *Modules) SetOutputFormat(op interfaces.OutputFormat)
- func (c *Modules) SetPrintToConsole(pr bool)
- func (c *Modules) Success(format interface{}, input ...interface{})
- func (c *Modules) Trace(format interface{}, input ...interface{})
- func (c *Modules) Warning(format interface{}, input ...interface{})
- func (c *Modules) Write(p []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildDate string
View Source
var Commit string
View Source
var OSBuildName string
View Source
var Version string
Functions ¶
func NewLib ¶
func NewLib() interfaces.Logger
Types ¶
type Modules ¶
type Modules struct {
// contains filtered or unexported fields
}
func (*Modules) Error ¶
func (c *Modules) Error(format interface{}, input ...interface{}) interfaces.Logger
func (*Modules) GetLogLevel ¶
func (c *Modules) GetLogLevel() (level interfaces.DebugLevel)
func (*Modules) GetOutputFormat ¶
func (c *Modules) GetOutputFormat() interfaces.OutputFormat
func (*Modules) GetPrintToConsole ¶
func (*Modules) New ¶
func (c *Modules) New() interfaces.Logger
func (*Modules) NewSystemLogger ¶
func (*Modules) ParsingLog ¶
func (c *Modules) ParsingLog(msg interfaces.LoggerMessage) (raw string)
func (*Modules) ServiceName ¶
func (*Modules) ServiceVersion ¶
func (*Modules) SetLogFile ¶
func (c *Modules) SetLogFile(config interfaces.LoggingFile)
func (*Modules) SetLogLevel ¶
func (c *Modules) SetLogLevel(level interfaces.DebugLevel)
func (*Modules) SetOnLoggerHandler ¶
func (c *Modules) SetOnLoggerHandler(f func(msg interfaces.LoggerMessage, raw string))
func (*Modules) SetOutputFormat ¶
func (c *Modules) SetOutputFormat(op interfaces.OutputFormat)
func (*Modules) SetPrintToConsole ¶
Click to show internal directories.
Click to hide internal directories.