package
1.7.6
Repository: https://github.com/minio/console.git
Documentation: pkg.go.dev

# Packages

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

# Functions

AuditLog - logs audit logs to all audit targets.
AuditTargets returns active audit targets.
CriticalIf logs the provided errors on the console.
EnableAnonymous - turns anonymous flag to avoid printing sensitive information.
EnableJSON - outputs logs in json format.
EnableQuiet - turns quiet option on.
Error :.
Fatal prints only fatal errors message with no stack trace it will be called for input validation failures.
FatalIf is similar to Fatal() but it ignores passed nil errors.
GetAuditEntry returns Audit entry if set.
GetGlobalDeploymentID :.
GetReqInfo returns ReqInfo if set.
Info :.
Init sets the trimStrings to possible GOPATHs and GOROOT directories.
InitializeLogger :.
IsAnonymous - returns true if anonFlag is true.
IsJSON - returns true if jsonFlag is true.
IsQuiet - returns true if quietFlag is true.
LogAlwaysIf prints a detailed errors message during the execution of the server.
LogIf prints a detailed errors message during the execution of the server.
LogOnceIf - Logs notification errors - once per errors.
LookupConfigForSubSys - lookup logger config, override with ENVs if set, for the given sub-system.
NewConfig - initialize new logger config.
NewHTTPTransportWithClientCerts returns a new http configuration used while communicating with the cloud backends.
NewResponseWriter - returns a wrapped response writer to trap http status codes for auditing purposes.
RegisterError registers the specified rendering function.
SetAuditEntry sets Audit info in the context.
SetReqInfo sets ReqInfo in the context.
SystemTargets returns active targets.
UpdateAuditWebhookTargets swaps audit webhook targets with newly loaded ones from the cfg.
UpdateSystemTargets swaps targets with newly loaded ones from the cfg.

# Constants

All errors.
Audit/Logger constants.
Audit/Logger constants.
Audit/Logger constants.
Audit/Logger constants.
Audit/Logger constants.
Audit/Logger constants.
Audit/Logger constants.
Audit/Logger constants.
Audit/Logger constants.
Audit/Logger constants.
Audit/Logger constants.
Audit/Logger constants.
Audit/Logger constants.
Audit/Logger constants.
Audit/Logger constants.
Audit/Logger constants.
Enumerated level types.
Enumerated level types.
Enumerated level types.
Minio errors.

# Variables

BodyPlaceHolder returns a dummy body placeholder.
Disable disables all logging, false by default.
ErrCritical is the value panic'd whenever CriticalIf is called.
No description provided by the author

# Structs

Config console and http logger targets.
KeyVal - appended to ReqInfo.Tags.
ObjectVersion object version key/versionId.
ReqInfo stores the request info.
ResponseWriter - is a wrapper to trap the http response status code.

# Interfaces

Logger interface describes the methods that need to be implemented to satisfy the interface requirements.
Target is the entity that we will receive a single log entry and Send it to the log target e.g.

# Type aliases

Kind specifies the kind of errors log.
Level type.