package
0.0.0-20190227020453-5e69a107d89d
Repository: https://github.com/c445/minio.git
Documentation: pkg.go.dev

# Packages

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

# 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.
NewReqInfo :.
NewResponseWriter - returns a wrapped response writer to trap http status codes for auditiing purposes.
RegisterUIError registers the specified rendering function.
SetReqInfo sets ReqInfo in the context.
StartupMessage :.

# Constants

Enumerated level types.
Enumerated level types.
Enumerated level types.
TimeFormat - logging time format.

# Variables

AuditTargets is the list of enabled audit loggers.
Global colors.
Global colors.
Global colors.
Global colors.
Disable disables all logging, false by default.
ErrCritical is the value panic'd whenever CriticalIf is called.
Targets is the set of enabled loggers.

# Structs

KeyVal - appended to ReqInfo.Tags.
ReqInfo stores the request info.
ResponseWriter - is a wrapper to trap the http response status code.

# Interfaces

Console 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

Level type.