Documentation
¶
Index ¶
Constants ¶
View Source
const ( CriticalLevel logLevel = iota WarnLevel InfoLevel DebugLevel TraceLevel )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuntimeLogger ¶
type RuntimeLogger interface {
Info(message string)
Infof(message string, a ...any)
Trace(message string)
Tracef(message string, a ...any)
Debug(message string)
Debugf(message string, a ...any)
Warn(message string)
Warnf(message string, a ...any)
Critical(message string)
Criticalf(message string, a ...any)
}
func NewLogger ¶
func NewLogger() RuntimeLogger
Click to show internal directories.
Click to hide internal directories.