Documentation ¶
Index ¶
- func GetApplicationLoggers(logDirectory string, applicationName string) (logger Logger, configLogger Logger)
- type CompoundLogger
- func (l CompoundLogger) Debug(msg string)
- func (l CompoundLogger) Debugf(format string, v ...interface{})
- func (l CompoundLogger) Error(msg string)
- func (l CompoundLogger) Errorf(format string, v ...interface{})
- func (l CompoundLogger) Fatal(msg string)
- func (l CompoundLogger) Fatalf(format string, v ...interface{})
- func (l CompoundLogger) Info(msg string)
- func (l CompoundLogger) Infof(format string, v ...interface{})
- func (l CompoundLogger) Panic(msg string)
- func (l CompoundLogger) Panicf(format string, v ...interface{})
- func (l CompoundLogger) Trace(msg string)
- func (l CompoundLogger) Tracef(format string, v ...interface{})
- func (l CompoundLogger) Warn(msg string)
- func (l CompoundLogger) Warnf(format string, v ...interface{})
- func (l CompoundLogger) WithError(err error) Logger
- func (l CompoundLogger) WithField(key string, value interface{}) Logger
- func (l CompoundLogger) WithFields(fields map[string]interface{}) Logger
- type Fields
- type Logger
- type MultiplexLogger
- func (l MultiplexLogger) Debug(msg string)
- func (l MultiplexLogger) Debugf(format string, v ...interface{})
- func (l MultiplexLogger) Error(msg string)
- func (l MultiplexLogger) Errorf(format string, v ...interface{})
- func (l MultiplexLogger) Fatal(msg string)
- func (l MultiplexLogger) Fatalf(format string, v ...interface{})
- func (l MultiplexLogger) Info(msg string)
- func (l MultiplexLogger) Infof(format string, v ...interface{})
- func (l MultiplexLogger) Panic(msg string)
- func (l MultiplexLogger) Panicf(format string, v ...interface{})
- func (l MultiplexLogger) Trace(msg string)
- func (l MultiplexLogger) Tracef(format string, v ...interface{})
- func (l MultiplexLogger) Warn(msg string)
- func (l MultiplexLogger) Warnf(format string, v ...interface{})
- func (l MultiplexLogger) WithError(err error) Logger
- func (l MultiplexLogger) WithField(key string, value interface{}) Logger
- func (l MultiplexLogger) WithFields(fields map[string]interface{}) Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompoundLogger ¶
type CompoundLogger struct {
// contains filtered or unexported fields
}
func NewCompoundLogger ¶
func NewCompoundLogger(loggers []Logger) CompoundLogger
func (CompoundLogger) Debug ¶
func (l CompoundLogger) Debug(msg string)
func (CompoundLogger) Debugf ¶
func (l CompoundLogger) Debugf(format string, v ...interface{})
func (CompoundLogger) Error ¶
func (l CompoundLogger) Error(msg string)
func (CompoundLogger) Errorf ¶
func (l CompoundLogger) Errorf(format string, v ...interface{})
func (CompoundLogger) Fatal ¶
func (l CompoundLogger) Fatal(msg string)
func (CompoundLogger) Fatalf ¶
func (l CompoundLogger) Fatalf(format string, v ...interface{})
func (CompoundLogger) Info ¶
func (l CompoundLogger) Info(msg string)
func (CompoundLogger) Infof ¶
func (l CompoundLogger) Infof(format string, v ...interface{})
func (CompoundLogger) Panic ¶
func (l CompoundLogger) Panic(msg string)
func (CompoundLogger) Panicf ¶
func (l CompoundLogger) Panicf(format string, v ...interface{})
func (CompoundLogger) Trace ¶
func (l CompoundLogger) Trace(msg string)
func (CompoundLogger) Tracef ¶
func (l CompoundLogger) Tracef(format string, v ...interface{})
func (CompoundLogger) Warn ¶
func (l CompoundLogger) Warn(msg string)
func (CompoundLogger) Warnf ¶
func (l CompoundLogger) Warnf(format string, v ...interface{})
func (CompoundLogger) WithError ¶
func (l CompoundLogger) WithError(err error) Logger
func (CompoundLogger) WithField ¶
func (l CompoundLogger) WithField(key string, value interface{}) Logger
func (CompoundLogger) WithFields ¶
func (l CompoundLogger) WithFields(fields map[string]interface{}) Logger
type Logger ¶
type Logger interface { WithField(key string, value interface{}) Logger WithFields(fields map[string]interface{}) Logger WithError(err error) Logger Trace(msg string) Tracef(format string, v ...interface{}) Debug(msg string) Debugf(format string, v ...interface{}) Info(msg string) Infof(format string, v ...interface{}) Warn(msg string) Warnf(format string, v ...interface{}) Error(msg string) Errorf(format string, v ...interface{}) Fatal(msg string) Fatalf(format string, v ...interface{}) Panic(msg string) Panicf(format string, v ...interface{}) }
type MultiplexLogger ¶
type MultiplexLogger struct {
// contains filtered or unexported fields
}
func NewMultiplexLogger ¶
func NewMultiplexLogger(loggers []zerolog.Logger) MultiplexLogger
func (MultiplexLogger) Debug ¶
func (l MultiplexLogger) Debug(msg string)
func (MultiplexLogger) Debugf ¶
func (l MultiplexLogger) Debugf(format string, v ...interface{})
func (MultiplexLogger) Error ¶
func (l MultiplexLogger) Error(msg string)
func (MultiplexLogger) Errorf ¶
func (l MultiplexLogger) Errorf(format string, v ...interface{})
func (MultiplexLogger) Fatal ¶
func (l MultiplexLogger) Fatal(msg string)
func (MultiplexLogger) Fatalf ¶
func (l MultiplexLogger) Fatalf(format string, v ...interface{})
func (MultiplexLogger) Info ¶
func (l MultiplexLogger) Info(msg string)
func (MultiplexLogger) Infof ¶
func (l MultiplexLogger) Infof(format string, v ...interface{})
func (MultiplexLogger) Panic ¶
func (l MultiplexLogger) Panic(msg string)
func (MultiplexLogger) Panicf ¶
func (l MultiplexLogger) Panicf(format string, v ...interface{})
func (MultiplexLogger) Trace ¶
func (l MultiplexLogger) Trace(msg string)
func (MultiplexLogger) Tracef ¶
func (l MultiplexLogger) Tracef(format string, v ...interface{})
func (MultiplexLogger) Warn ¶
func (l MultiplexLogger) Warn(msg string)
func (MultiplexLogger) Warnf ¶
func (l MultiplexLogger) Warnf(format string, v ...interface{})
func (MultiplexLogger) WithError ¶
func (l MultiplexLogger) WithError(err error) Logger
func (MultiplexLogger) WithField ¶
func (l MultiplexLogger) WithField(key string, value interface{}) Logger
func (MultiplexLogger) WithFields ¶
func (l MultiplexLogger) WithFields(fields map[string]interface{}) Logger
Click to show internal directories.
Click to hide internal directories.