Documentation ¶
Index ¶
- func HTTP(h http.Handler) http.Handler
- type FieldPair
- type Fields
- type Logger
- func (l *Logger) Counter(key string, increment int64)
- func (l *Logger) Debug(msg string, fps ...FieldPair)
- func (l *Logger) Error(msg string, fps ...FieldPair)
- func (l *Logger) Fatal(args ...interface{})
- func (l *Logger) Fatalf(s string, args ...interface{})
- func (l *Logger) Fatalln(msg ...interface{})
- func (l *Logger) Field(key string, value interface{}) FieldPair
- func (l *Logger) Finfo(w io.Writer, msg string, fps ...FieldPair)
- func (l *Logger) Flags()
- func (l *Logger) Gauge(key string, value interface{})
- func (l *Logger) Info(msg string, fps ...FieldPair)
- func (l *Logger) Output(i int, s string) error
- func (l *Logger) Panic(args ...interface{})
- func (l *Logger) Panicf(s string, args ...interface{})
- func (l *Logger) Panicln(msg ...interface{})
- func (l *Logger) Prefix()
- func (l *Logger) Print(args ...interface{})
- func (l *Logger) Printf(s string, args ...interface{})
- func (l *Logger) Println(msg ...interface{})
- func (l *Logger) Profile(then time.Time)
- func (l *Logger) Recover(f func(message, method, filename string, linenumber int64))
- func (l *Logger) RemoveGauge(key string)
- func (l *Logger) SetFlags(i int)
- func (l *Logger) SetOutput(w io.Writer)
- func (l *Logger) SetPrefix(s string)
- func (l *Logger) Warn(msg string, fps ...FieldPair)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) Fatalln ¶
func (l *Logger) Fatalln(msg ...interface{})
Method Fatalln[...interface {}] is missing
func (*Logger) RemoveGauge ¶
Click to show internal directories.
Click to hide internal directories.