package
Version:
v0.26.0
Opens a new window with list of versions in this module.
Published: Jan 21, 2020
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
¶
type Logger interface {
FD() io.WriteCloser
Debug(msg string, ctx ...interface{})
Info(msg string, ctx ...interface{})
Warn(msg string, ctx ...interface{})
Error(msg string, ctx ...interface{})
Crit(msg string, ctx ...interface{})
New(ctx ...interface{}) Logger
}
New creates new logger based on logger.Options
type Options struct {
LogToStdOut bool
FilePath string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.