package
0.0.0-20230925091837-55f7a6b23beb
Repository: https://github.com/xdbfoundation/go.git
Documentation: pkg.go.dev

# Functions

Ctx returns the logger bound to the provided context, otherwise providing the default logger.
Debug logs a message at the debug severity.
Debugf logs a message at the debug severity.
Error logs a message at the Error severity.
Errorf logs a message at the Error severity.
Fatal logs a message at the Fatal severity.
Fatalf logs a message at the Fatal severity.
Info logs a message at the Info severity.
Infof logs a message at the Info severity.
New creates a new logger, starting at a WARN level and including the current processes pid as a field.
NewLogglyHook creates a new hook.
Panic logs a message at the Panic severity.
Panicf logs a message at the Panic severity.
PushContext is a helper method to derive a new context with a modified logger bound to it, where the logger is derived from the current value on the context.
Set establishes a new context to which the provided sub-logger is bound.
No description provided by the author
Warn logs a message at the Warn severity.
Warnf logs a message at the Warn severity.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

DefaultLogger represents the default logger that is not bound to any specific context.

# Structs

Entry
Entry repre.
LogglyHook sends logs to loggly.

# Type aliases

F wraps the logrus.Fields type for the convenience of typing less.