Documentation ¶
Overview ¶
Package Package loggerrific is a logging interface for abstracting the choice of logging framework for an application.
For a full guide visit https://github.com/CallumKerson/loggerrific
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry interface { Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warnf(format string, args ...interface{}) Errorf(format string, args ...interface{}) Debugln(args ...interface{}) Infoln(args ...interface{}) Warnln(args ...interface{}) Errorln(args ...interface{}) }
type Logger ¶
type Logger interface { WithField(key string, value interface{}) Entry WithFields(fields map[string]interface{}) Entry WithError(err error) Entry Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warnf(format string, args ...interface{}) Errorf(format string, args ...interface{}) Debugln(args ...interface{}) Infoln(args ...interface{}) Warnln(args ...interface{}) Errorln(args ...interface{}) IsDebugEnabled() bool IsInfoEnabled() bool IsWarnEnabled() bool IsErrorEnabled() bool }
Directories ¶
Path | Synopsis |
---|---|
package noopt provides an no operation (noop) implementation of the l loggerrific interface that can be used as a default implementation if no other implementation is provided.
|
package noopt provides an no operation (noop) implementation of the l loggerrific interface that can be used as a default implementation if no other implementation is provided. |
package tlogger provides an implementation of the loggerrific interface using the `testing.T.Log` functionality, for use in tests.
|
package tlogger provides an implementation of the loggerrific interface using the `testing.T.Log` functionality, for use in tests. |
Click to show internal directories.
Click to hide internal directories.