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, ipAddr 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, macAddr 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(string, bool) types.Event
- func (e *Event) Err(error) types.Event
- func (e *Event) Float32(string, float32) types.Event
- func (e *Event) Float64(string, float64) types.Event
- func (e *Event) IPAddr(string, net.IP) types.Event
- func (e *Event) Int(string, int) types.Event
- func (e *Event) Int16(string, int16) types.Event
- func (e *Event) Int32(string, int32) types.Event
- func (e *Event) Int64(string, int64) types.Event
- func (e *Event) Int8(string, int8) types.Event
- func (e *Event) MACAddr(string, net.HardwareAddr) types.Event
- func (e *Event) Msg(string)
- func (e *Event) Msgf(string, ...interface{})
- func (e *Event) Str(string, string) types.Event
- func (e *Event) Uint(string, uint) types.Event
- func (e *Event) Uint16(string, uint16) types.Event
- func (e *Event) Uint32(string, uint32) types.Event
- func (e *Event) Uint64(string, uint64) types.Event
- func (e *Event) Uint8(string, uint8) types.Event
- type Logger
- func (s *Logger) Debug() types.Event
- func (s *Logger) Error() types.Event
- func (s *Logger) Fatal() types.Event
- func (s *Logger) Info() types.Event
- func (s *Logger) Level() types.Level
- func (s *Logger) SetLevel(level types.Level)
- func (s *Logger) SubLogger(string) types.Logger
- func (s *Logger) Trace() types.Event
- func (s *Logger) Warn() types.Event
- func (s *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.