Documentation ¶
Index ¶
- Constants
- func NewCallerWriter(out io.Writer, prefix string, flag int) io.Writer
- func NewFileWriter(filename string, maxSize int, maxBackups int, maxAge int, compress bool) io.Writer
- func NewLogLevelFilter(logLevel string, writer io.Writer) io.Writer
- func NewLogger(logLevel string, prefix string, flag int, filename string, maxSize int, ...) *log.Logger
- type CallerWriter
- type LogLevel
Constants ¶
View Source
const ( DEBUG = iota INFO WARN ERR )
Variables ¶
This section is empty.
Functions ¶
func NewFileWriter ¶
Types ¶
type CallerWriter ¶
type CallerWriter struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.