Documentation ¶
Index ¶
- Constants
- type Logger
- func (l *Logger) Debug(args ...interface{})
- func (l *Logger) Debugf(format string, args ...interface{})
- func (l *Logger) Debugw(msg string, kvs ...interface{})
- func (l *Logger) Error(args ...interface{})
- func (l *Logger) Errorf(format string, args ...interface{})
- func (l *Logger) Errorw(msg string, kvs ...interface{})
- func (l *Logger) Fatal(args ...interface{})
- func (l *Logger) Fatalf(format string, args ...interface{})
- func (l *Logger) Fatalw(msg string, kvs ...interface{})
- func (l *Logger) Info(args ...interface{})
- func (l *Logger) Infof(format string, args ...interface{})
- func (l *Logger) Infow(msg string, kvs ...interface{})
- func (l *Logger) Named(s string) gira.Logger
- func (l *Logger) Warn(args ...interface{})
- func (l *Logger) Warnf(format string, args ...interface{})
- func (l *Logger) Warnw(msg string, kvs ...interface{})
- type MongoSink
Constants ¶
View Source
const ( EncoderKey_time = "time" EncoderKey_level = "level" EncoderKey_name = "logger" EncoderKey_caller = "caller" EncoderKey_message = "msg" EncoderKey_stacktrace = "stacktrace" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func NewDefaultCliLogger ¶
func NewDefaultLogger ¶
func NewDefaultLogger() *Logger
Click to show internal directories.
Click to hide internal directories.