Documentation
¶
Index ¶
- type Logger
- func (l *Logger) Close()
- func (l *Logger) Debug(msg string, args ...zapcore.Field)
- func (l *Logger) Error(msg string, args ...zapcore.Field)
- func (l *Logger) Fatal(msg string, args ...zapcore.Field)
- func (l *Logger) GetVerbose() bool
- func (l *Logger) Info(msg string, args ...zapcore.Field)
- func (l *Logger) Panic(msg string, args ...zapcore.Field)
- func (l *Logger) Reset()
- func (l *Logger) SetConsoleOutput(consoleOut bool)
- func (l *Logger) SetLogFilePath(logFilePath_ string)
- func (l *Logger) SetSaveToFile(saveToFile_ bool)
- func (l *Logger) SetVerbose(verbose_ bool)
- func (l *Logger) Sync()
- func (l *Logger) SyncLogs()
- func (l *Logger) Warn(msg string, args ...zapcore.Field)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) GetVerbose ¶
func (*Logger) SetConsoleOutput ¶
func (*Logger) SetLogFilePath ¶
func (*Logger) SetSaveToFile ¶
func (*Logger) SetVerbose ¶
Click to show internal directories.
Click to hide internal directories.