Documentation ¶
Index ¶
- Constants
- type ZapLogger
- func (zl *ZapLogger) Debug(msg string, details ...helpers.IDetails)
- func (zl *ZapLogger) Error(msg string, details ...helpers.IDetails)
- func (zl *ZapLogger) Fatal(msg string, details ...helpers.IDetails)
- func (zl *ZapLogger) GetLevel() string
- func (zl *ZapLogger) GetWriter() *os.File
- func (zl *ZapLogger) Info(msg string, details ...helpers.IDetails)
- func (zl *ZapLogger) LoggerName() string
- func (zl *ZapLogger) SetLevel(level string) error
- func (zl *ZapLogger) SetWriter(w *os.File)
- func (zl *ZapLogger) Success(msg string, details ...helpers.IDetails)
- func (zl *ZapLogger) Warning(msg string, details ...helpers.IDetails)
Constants ¶
View Source
const LoggerName string = "zap"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZapLogger ¶
type ZapLogger struct {
// contains filtered or unexported fields
}
func NewZapLogger ¶
func NewZapLogger() *ZapLogger
func (*ZapLogger) LoggerName ¶
Click to show internal directories.
Click to hide internal directories.