package
Version:
v0.13.1-rc1
Opens a new window with list of versions in this module.
Published: Dec 15, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
A LogLevel is a logging level.
const (
LogLevelAll LogLevel = iota
LogLevelInfo
LogLevelError
LogLevelNone
)
type Logger interface {
Info(msg string, kvs ...interface{})
Error(err error, msg string, kvs ...interface{})
}
Logger represents a logger.
NewLogger returns a new logger.
NewNopLogger returns a no operation logger.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.