Versions in this module Expand all Collapse all v0 v0.1.0 Jun 12, 2022 Changes in this version + const NAME + func Configure(cfg Map) + func Console(args ...Any) + func Debug(args ...Any) + func Fatal(args ...Any) + func Go() + func Info(args ...Any) + func Levels() map[Level]string + func Notice(args ...Any) + func Panic(args ...Any) + func Ready() + func Register(name string, value Any, overrides ...bool) + func Trace(args ...Any) + func Warning(args ...Any) + type Config struct + Driver string + Format string + Json bool + Level Level + Pool int + Setting Map + Sync bool + type Connect interface + Close func() error + Flush func() + Open func() error + Write func(*Log) error + type Driver interface + Connect func(config Config) (Connect, error) + type Level = int + const LevelDebug + const LevelFatal + const LevelInfo + const LevelNotice + const LevelPanic + const LevelTrace + const LevelWarning + type Log struct + Body string + Level Level + Time int64 + func (log *Log) Format() string + type Module struct + func (this *Module) Config(name string, config Config, override bool) + func (this *Module) Configure(global Map) + func (this *Module) Connect() + func (this *Module) Console(args ...Any) + func (this *Module) Debug(args ...Any) + func (this *Module) Driver(name string, driver Driver, override bool) + func (this *Module) Fatal(args ...Any) + func (this *Module) Flush() + func (this *Module) Info(args ...Any) + func (this *Module) Initialize() + func (this *Module) Launch() + func (this *Module) Logging(level Level, body string) error + func (this *Module) Notice(args ...Any) + func (this *Module) Panic(args ...Any) + func (this *Module) Register(name string, value Any, override bool) + func (this *Module) Terminate() + func (this *Module) Trace(args ...Any) + func (this *Module) Warning(args ...Any) + func (this *Module) Write(msg *Log) error