Documentation ¶
Index ¶
Constants ¶
View Source
const ScopeKey = Scope("scope")
Variables ¶
View Source
var (
Logger *logger
)
Functions ¶
func Configure ¶
func Configure(debug bool, service string, extensions LoggerExtension)
Types ¶
type LoggerExtension ¶
func (*LoggerExtension) Register ¶
func (l *LoggerExtension) Register(extensions []logrus.Hook)
Click to show internal directories.
Click to hide internal directories.