package
0.0.0-20211105144125-e9b145e8b5d4
Repository: https://github.com/pydio/minio-srv.git
Documentation: pkg.go.dev

# 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 targets.
CriticalIf logs the provided error on the console.
EnableJSON - outputs logs in json format.
EnableQuiet - turns quiet option on.
Fatal prints only fatal error message without 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.
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.
NewConsole initializes a new logger target which prints log directly in the standard output.
NewHTTP initializes a new logger target which sends log over http to the specified endpoint.
No description provided by the author
NewReqInfo :.
RegisterUIError registers the specified rendering function.
SetDeploymentID - Used to set the deployment ID, in XL and FS mode.
SetReqInfo sets ReqInfo in the context.
StartupMessage :.

# Constants

Enumerated level types.
Enumerated level types.
Enumerated level types.

# Variables

AuditTargets is the list of enabled audit loggers.
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

AuditEntry - audit entry logs.
ConsoleTarget implements loggerTarget to send log in plain or json format to the standard output.
HTTPTarget implements loggerTarget and sends the json format of a log entry to the configured http endpoint.
KeyVal - appended to ReqInfo.Tags.
No description provided by the author
ReqInfo stores the request info.

# Interfaces

Console interface describes the methods that needs to be implemented to satisfy the interface requirements.
LoggingTarget is the entity that we will receive a single log entry and send it to the log target e.g.
No description provided by the author

# Type aliases

Level type.