modulepackage
0.0.0-20190701163301-49978a80bf96
Repository: https://github.com/rai-project/logger.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AddHook adds a hook to the standard logrusger hooks.
returns file and line two stack frames above its invocation.
Debug logruss a message at level Debug on the standard logrusger.
Debugf logruss a message at level Debug on the standard logrusger.
Debugln logruss a message at level Debug on the standard logrusger.
Decorate appends line, file and function context to the logger and returns a function to call before each log.
Error logruss a message at level Error on the standard logrusger.
Errorf logruss a message at level Error on the standard logrusger.
Errorln logruss a message at level Error on the standard logrusger.
Fatal logruss a message at level Fatal on the standard logrusger.
Fatalf logruss a message at level Fatal on the standard logrusger.
Fatalln logruss a message at level Fatal on the standard logrusger.
No description provided by the author
GetLevel returns the standard logrusger level.
Info logruss a message at level Info on the standard logrusger.
Infof logruss a message at level Info on the standard logrusger.
Infoln logruss a message at level Info on the standard logrusger.
Log appends line, file and function context to the logger.
Creates a new logrusger.
NewHook is the initializer for StackHook{} (implementing logrus.Hook).
Panic logruss a message at level Panic on the standard logrusger.
Panicf logruss a message at level Panic on the standard logrusger.
Panicln logruss a message at level Panic on the standard logrusger.
Print logruss a message at level Info on the standard logrusger.
Printf logruss a message at level Info on the standard logrusger.
Println logruss a message at level Info on the standard logrusger.
No description provided by the author
SetFormatter sets the standard logrusger formatter.
SetLevel sets the standard logrusger level.
SetOutput sets the standard logrusger output.
No description provided by the author
StackHook is a convenience initializer for StackHook{} with default args.
No description provided by the author
Warn logruss a message at level Warn on the standard logrusger.
Warnf logruss a message at level Warn on the standard logrusger.
Warning logruss a message at level Warn on the standard logrusger.
Warningf logruss a message at level Warn on the standard logrusger.
Warningln logruss a message at level Warn on the standard logrusger.
Warnln logruss a message at level Warn on the standard logrusger.
WithError creates an entry from the standard logrusger and adds an error to it, using the value defined in ErrorKey as key.
WithField creates an entry from the standard logrusger and adds a field to it.
WithFields creates an entry from the standard logrusger and adds multiple fields to it.
# Variables
No description provided by the author