Documentation ¶
Index ¶
- Constants
- func Level(confLevel string) zapcore.Level
- type Logger
- type Write
- func (w *Write) SetFileAll() zap.LevelEnablerFunc
- func (w *Write) SetFileError() zap.LevelEnablerFunc
- func (w *Write) SetFileInfo() zap.LevelEnablerFunc
- func (w *Write) SetLevel(level string)
- func (w *Write) WriteAsyncFile(encodeName string, lev zapcore.LevelEnabler, fileName string, ...) zapcore.Core
Constants ¶
View Source
const Mode = "json"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Write ¶
type Write struct {
// contains filtered or unexported fields
}
func (*Write) SetFileAll ¶
func (w *Write) SetFileAll() zap.LevelEnablerFunc
func (*Write) SetFileError ¶
func (w *Write) SetFileError() zap.LevelEnablerFunc
func (*Write) SetFileInfo ¶
func (w *Write) SetFileInfo() zap.LevelEnablerFunc
Click to show internal directories.
Click to hide internal directories.