package
Version:
v0.12.3
Opens a new window with list of versions in this module.
Published: Jun 2, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DefaultLogDir function returns default log directory ($XDG_CACHE_HOME/appName/)
New function returns new zerolog.Logger instance.
func Nop() *log.ZapEventLogger
Nop function returns nop logger
const (
LevelUnknown Level = iota
LevelNop
LevelError
LevelWarn
LevelInfo
LevelDebug
LevelTrace
)
func (lvl Level) GologLevel() (log.LogLevel, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.