package
0.9.4
Repository: https://github.com/daos-stack/daos.git
Documentation: pkg.go.dev

# Functions

MustCreateSyslogger attempts to create a *log.Logger configured for output to the system log daemon.
NewCombinedLogger returns a logger configured to send all output to the supplied io.Writer.
NewCommandLineErrorLogger returns an ErrorLogger configured for outputting unadorned error messages (i.e.
NewCommandLineInfoLogger returns an InfoLogger configured for outputting unadorned informational messages (i.e.
NewCommandLineLogger returns a logger configured to send non-error output to stdout and error output to stderr.
NewDebugLogger returns a DebugLogger configured for outputting debugging messages.
NewErrorLogger returns an ErrorLogger configured for outputting error messages with standard formatting (e.g.
NewInfoLogger returns an InfoLogger configured for outputting informational messages with standard formatting (e.g.
NewJSONFormatter returns a *JSONFormatter configured to emit JSON-formatted output.
NewStdoutLogger returns a logger configured to send all output to stdout (suitable for containerized/systemd operation).
NewTestLogger returns a logger and a *LogBuffer, with the logger configured to send all output into the buffer.

# Constants

No description provided by the author
LogLevelDebug emits messages at DEBUG or higher.
LogLevelDisabled disables any logging output.
LogLevelError emits messages at ERROR or higher.
LogLevelInfo emits messages at INFO or higher.

# Structs

DefaultDebugLogger implements the DebugLogger interface.
DefaultErrorLogger implements the ErrorLogger interface.
DefaultInfoLogger implements the InfoLogger interface.
No description provided by the author
No description provided by the author
LogBuffer provides a thread-safe wrapper for bytes.Buffer.

# Interfaces

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

# Type aliases

LogLevel represents the level at which the logger will emit log messages.