Documentation ¶
Overview ¶
Package logger has implementation of loggers for mtglib.Logger interface.
Please see a description of that interface to get some agreements which are used by mtglib.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNoopLogger ¶
NewNoopLogger returns a logger which discards all events.
Types ¶
type StdLikeLogger ¶
type StdLikeLogger interface {
Printf(format string, args ...interface{})
}
StdLikeLogger is an interface which is close to log.Logger. This is commonly used by many 3pp tools. While mtglib itself does not need it, it is always a good idea to support it and have a transient end to end logging.
Click to show internal directories.
Click to hide internal directories.