Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct { Name string Trace *log.Logger Info *log.Logger Warning *log.Logger Error *log.Logger // contains filtered or unexported fields }
func (Logger) GetLevel ¶
func (logger Logger) GetLevel() LoggingLevel
func (Logger) SetLevel ¶
func (logger Logger) SetLevel(level LoggingLevel) Logger
type LoggingLevel ¶
type LoggingLevel int
const ( TRACE LoggingLevel = iota INFO WARNING ERROR OFF )
func (LoggingLevel) String ¶
func (i LoggingLevel) String() string
Click to show internal directories.
Click to hide internal directories.