Documentation
¶
Index ¶
- type Context
- func (c *Context) Bool(key string, val bool) types.Context
- func (c *Context) Err(err error) types.Context
- func (c *Context) Float32(key string, val float32) types.Context
- func (c *Context) Float64(key string, val float64) types.Context
- func (c *Context) IPAddr(key string, val net.IP) types.Context
- func (c *Context) Int(key string, val int) types.Context
- func (c *Context) Int16(key string, val int16) types.Context
- func (c *Context) Int32(key string, val int32) types.Context
- func (c *Context) Int64(key string, val int64) types.Context
- func (c *Context) Int8(key string, val int8) types.Context
- func (c *Context) Logger() types.Logger
- func (c *Context) MACAddr(key string, val net.HardwareAddr) types.Context
- func (c *Context) Str(key string, val string) types.Context
- func (c *Context) Uint(key string, val uint) types.Context
- func (c *Context) Uint16(key string, val uint16) types.Context
- func (c *Context) Uint32(key string, val uint32) types.Context
- func (c *Context) Uint64(key string, val uint64) types.Context
- func (c *Context) Uint8(key string, val uint8) types.Context
- type Event
- func (e *Event) Bool(key string, val bool) types.Event
- func (e *Event) Err(err error) types.Event
- func (e *Event) Float32(key string, val float32) types.Event
- func (e *Event) Float64(key string, val float64) types.Event
- func (e *Event) IPAddr(key string, ipAddr net.IP) types.Event
- func (e *Event) Int(key string, val int) types.Event
- func (e *Event) Int16(key string, val int16) types.Event
- func (e *Event) Int32(key string, val int32) types.Event
- func (e *Event) Int64(key string, val int64) types.Event
- func (e *Event) Int8(key string, val int8) types.Event
- func (e *Event) MACAddr(key string, macAddr net.HardwareAddr) types.Event
- func (e *Event) Msg(msg string)
- func (e *Event) Msgf(format string, args ...interface{})
- func (e *Event) Str(key string, val string) types.Event
- func (e *Event) Uint(key string, val uint) types.Event
- func (e *Event) Uint16(key string, val uint16) types.Event
- func (e *Event) Uint32(key string, val uint32) types.Event
- func (e *Event) Uint64(key string, val uint64) types.Event
- func (e *Event) Uint8(key string, val uint8) types.Event
- type Logger
- func (z *Logger) Debug() types.Event
- func (z *Logger) Error() types.Event
- func (z *Logger) Fatal() types.Event
- func (z *Logger) Info() types.Event
- func (z *Logger) Level() types.Level
- func (z *Logger) SetLevel(level types.Level)
- func (z *Logger) SubLogger(source string) types.Logger
- func (z *Logger) Trace() types.Event
- func (z *Logger) Warn() types.Event
- func (z *Logger) With() types.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶ added in v0.2.5
type Context struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.