Documentation ¶
Index ¶
- Constants
- func Catch(ctx context.Context, hook Hook) context.Context
- func EncodeLogValue(str string) string
- func New(name string, messages string) (L Logger, E ErrorFactory, m *Module)
- type ErrorFactory
- type Hook
- type Level
- type Logger
- type Message
- type Module
- func (m *Module) Err(name string, args ...interface{})
- func (m *Module) Info(name string, args ...interface{})
- func (m *Module) Log(level Level, name string, args ...interface{})
- func (m *Module) Lookup(name string, args ...interface{}) (code int, desc string, link string, tail []interface{}, ctx context.Context, ...)
- func (m *Module) NewError(name string, args ...interface{}) error
- func (m *Module) Print(msg string, args ...interface{})
- func (m *Module) Printf(pattern string, args ...interface{})
- func (m *Module) Report(err error)
- func (m *Module) Warn(name string, args ...interface{})
Constants ¶
View Source
const AllLevels = None | Info | Warn | Error
Variables ¶
This section is empty.
Functions ¶
func EncodeLogValue ¶
Types ¶
type ErrorFactory ¶
Click to show internal directories.
Click to hide internal directories.