package
0.2.17
Repository: https://github.com/cwdot/stdlib-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddHook adds a hook to the standard logger hooks.
No description provided by the author
Debug logs a message at level Debug on the standard logger.
Debugf logs a message with formatting at level Debug on the standard logger.
Debugln logs a message at level Debug on the standard logger.
No description provided by the author
No description provided by the author
Error logs a message at level Error on the standard logger.
Errorf logs a message with formatting at level Error on the standard logger.
Errorln logs a message at level Error on the standard logger.
Fatal logs a message at level Fatal on the standard logger then the process will exit with status set to 1.
Fatalf logs a message with formatting at level Fatal on the standard logger.
Fatalln logs a message at level Fatal on the standard logger then the process will exit with status set to 1.
GetLevel returns the standard logger level.
No description provided by the author
Info logs a message at level Info on the standard logger.
Infof logs a message with formatting at level Info on the standard logger.
Infoln logs a message at level Info on the standard logger.
No description provided by the author
IsLevelEnabled checks if the log level of the standard logger is greater than the level param.
Log logs a message the provided text using the provided log level.
Logf logs a message with formatting using the provided log level.
Logln logs a message with newline the provided log level.
No description provided by the author
Panic logs a message at level Panic on the standard logger.
Panicf logs a message with formatting at level Panic on the standard logger.
Panicln logs a message at level Panic on the standard logger.
ParseLevel takes a string level and returns the Logrus log level constant.
No description provided by the author
No description provided by the author
Print logs a message at level Info on the standard logger.
Printf logs a message with formatting at level Info on the standard logger.
Println logs a message at level Info on the standard logger.
No description provided by the author
SetFormatter sets the standard logger formatter.
SetLevel sets the standard logger level.
SetOutput sets the standard logger output.
SetReportCaller sets whether the standard logger will include the calling method as a field.
Trace logs a message at level Trace on the standard logger.
Tracef logs a message with formatting at level Trace on the standard logger.
Traceln logs a message at level Trace on the standard logger.
Warn logs a message at level Warn on the standard logger.
Warnf logs a message at level Info on the standard logger.
Warning logs a message at level Warn on the standard logger.
Warningln logs a message at level Warn on the standard logger.
Warnln logs a message at level Warn on the standard logger.
WithContext creates an entry from the standard logger and adds a context to it.
WithError creates an entry from the standard logger and adds an error to it, using the value defined in ErrorKey as key.
WithField creates an entry from the standard logger and adds a field to it.
WithFields creates an entry from the standard logger and adds multiple fields to it.
No description provided by the author
No description provided by the author
WithTime creates an entry from the standard logger and overrides the time of logs generated with it.
No description provided by the author

# Constants

DebugLevel level.
ErrorLevel level.
FatalLevel level.
InfoLevel level.
PanicLevel level, highest level of severity.
TraceLevel level.
WarnLevel level.

# Variables

A constant exposing all logging levels.

# Structs

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

# Type aliases

Level type.