package
1.3.2
Repository: https://github.com/mayadata-io/velero.git
Documentation: pkg.go.dev

# Functions

DefaultHooks returns a slice of the default logrus hooks to be used by a logger.
DefaultLogger returns a Logger with the default properties and hooks.
GetFrameLocationInfo returns the location of a frame.
LogLevelFlag constructs a new log level flag.
NewFormatFlag constructs a new log level flag.
NewLogCounterHook returns a pointer to an initialized LogCounterHook.

# Constants

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

# Structs

ErrorLocationHook is a logrus hook that attaches error location information to log entries if an error is being logged and it has stack-trace information (i.e.
FormatFlag is a command-line flag for setting the logrus log format.
HcLogLevelHook adds an hclog-compatible field ("@level") containing the log level.
LevelFlag is a command-line flag for setting the logrus log level.
LocationInfo specifies the location of a line of code.
LogCounterHook is a logrus hook that counts the number of log statements that have been written at each logrus level.
LogLocationHook is a logrus hook that attaches location information to log entries, i.e.

# Type aliases

Format is a string representation of the desired output format for logs.