Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DataDir = "data"
Functions ¶
func ExecuteShellCommand ¶
func SetLogLevel ¶ added in v0.0.11
func SetLogLevel(logLevel string)
Types ¶
type LogLevelValue ¶
type LogLevelValue int
const ( TRACE LogLevelValue = iota DEBUG INFO WARN ERROR )
func (LogLevelValue) String ¶
func (l LogLevelValue) String() string
type Logger ¶
type Logger interface {
Trace(message string, v ...any)
Debug(message string, v ...any)
Info(message string, v ...any)
Warn(message string, v ...any)
Error(message string, v ...any)
Fatal(message string, v ...any)
}
func ProvideLogger ¶
func ProvideLogger() Logger
Click to show internal directories.
Click to hide internal directories.