# Functions
AddAuditTarget adds a new audit logger target to the list of enabled loggers.
AddTarget adds a new logger target to the list of enabled loggers.
AuditLog - logs audit logs to all audit targets.
CriticalIf logs the provided error on the console.
EnableAnonymous - turns anonymous flag to avoid printing sensitive information.
EnableJSON - outputs logs in json format.
EnableQuiet - turns quiet option on.
Fatal prints only fatal error message with no stack trace it will be called for input validation failures.
FatalIf is similar to Fatal() but it ignores passed nil error.
GetReqInfo returns ReqInfo if set.
Info :.
Init sets the trimStrings to possible GOPATHs and GOROOT directories.
IsJSON - returns true if jsonFlag is true.
IsQuiet - returns true if quietFlag is true.
LogAlwaysIf prints a detailed error message during the execution of the server.
LogIf prints a detailed error message during the execution of the server, if it is not an ignored error.
LogOnceIf - Logs notification errors - once per error.
LookupConfig - lookup logger config, override with ENVs if set.
NewConfig - initialize new logger config.
NewReqInfo :.
NewResponseWriter - returns a wrapped response writer to trap http status codes for auditiing purposes.
RegisterError registers the specified rendering function.
SetDeploymentID -- Deployment Id from the main package is set here.
SetLoggerHTTP helper for migrating older config to newer KV format.
SetLoggerHTTPAudit - helper for migrating older config to newer KV format.
SetReqInfo sets ReqInfo in the context.
StartupMessage :.
# Constants
All errors.
Application errors.
HTTP endpoint logger.
HTTP endpoint logger.
HTTP endpoint logger.
HTTP endpoint logger.
HTTP endpoint logger.
HTTP endpoint logger.
HTTP endpoint logger.
HTTP endpoint logger.
Enumerated level types.
Enumerated level types.
Enumerated level types.
Minio errors.
TimeFormat - logging time format.
# Variables
AuditTargets is the list of enabled audit loggers.
BodyPlaceHolder returns a dummy body placeholder.
Default KVS for loggerHTTP and loggerAuditHTTP.
Default KVS for loggerHTTP and loggerAuditHTTP.
Disable disables all logging, false by default.
ErrCritical is the value panic'd whenever CriticalIf is called.
Help template for logger http and audit.
Help template for logger http and audit.
Targets is the set of enabled loggers.