package
0.2.3
Repository: https://github.com/usvc/go-log.git
Documentation: pkg.go.dev

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FieldData defines what the data field should be tagged (applies only for JSONFormatter).
FieldFile defines the key for the value containing the file name and line.
FieldFunction defines the key for the value containing the function name.
FieldLevel defines the key for the value containing the level of the log entry.
FieldMessage defines the key for the value containing the message of the log entry.
FieldTimestamp defines the key for the value containing the timestamp of the log entry.
TimestampFormat defines the format which all logs should be in within the usvc namespace.

# Variables

DefaultFieldMap sets the FieldMap property of the TextFormatter and JSONFormatter classes that define how logrus outputs logs.
DefaultHookLevels can be used to set the levels for which the logrus hook will be activated if you'd like the hook to be activated on all levels of logs.