package
0.0.0-20230125131914-ef63c1e34f33
Repository: https://github.com/sqooba/go-common.git
Documentation: pkg.go.dev

# Functions

InitVerbosityHandler is a convenience function to set LogLevelHandler to given http server.
IsDebugEnabled returns true if the log level if debug or more verbose (i.e.
LogLevelHandler allow to change the log level at runtime using http PUT request: curl -X GET http://..
NewJSONLogger returns a standard logrus logger with a JSONFormatter.
NewLogger returns logrus standard logger.
SetLogLevel changes the log level of the given logger.
SetRemoteLogLevelAndExit is a helper function which calls LogLevelHandler to update the verbosity of a running process.

# Constants

HTTP path to expose health check.
No description provided by the author
Ok is the "ok" ServiceCheck status.
Warn is the "warning" ServiceCheck status.