package
1.13.1
Repository: https://github.com/react-vue-devel/moby.git
Documentation: pkg.go.dev

# Packages

Package awslogs provides the logdriver for forwarding container logs to Amazon CloudWatch Logs.
Package fluentd provides the log driver for forwarding server logs to fluentd endpoints.
No description provided by the author
Package gelf provides the log driver for forwarding server logs to endpoints that support the Graylog Extended Log Format.
Package journald provides the log driver for forwarding server logs to endpoints that receive the systemd format.
Package jsonfilelog provides the default Logger implementation for Docker logging.
Package logentries provides the log driver for forwarding server logs to logentries endpoints.
No description provided by the author
Package splunk provides the log driver for forwarding server logs to Splunk HTTP Event Collector endpoint.
Package syslog provides the logdriver for forwarding server logs to syslog endpoints.

# Functions

CopyMessage creates a copy of the passed-in Message which will remain unchanged if the original is changed.
GetLogDriver provides the logging driver builder for a logging driver name.
NewCopier creates a new Copier.
NewLogWatcher returns a new LogWatcher.
RegisterLogDriver registers the given logging driver builder with given logging driver name.
RegisterLogOptValidator registers the logging option validator with the given logging driver name.
ValidateLogOpts checks the options for the given log driver.

# Constants

TimeFormat is the time format used for timestamps sent to log readers.

# Variables

ErrReadLogsNotSupported is returned when the logger does not support reading logs.

# Structs

Context provides enough information for a logging driver to do its function.
Copier can copy logs from specified sources to Logger and attach Timestamp.
LogWatcher is used when consuming logs read from the LogReader interface.
Message is datastructure that represents piece of output produced by some container.
ReadConfig is the configuration passed into ReadLogs.

# Interfaces

Logger is the interface for docker logging drivers.
LogReader is the interface for reading log messages for loggers that support reading.

# Type aliases

Creator builds a logging driver instance with given context.
LogAttributes is used to hold the extra attributes available in the log message Primarily used for converting the map type to string and sorting.
LogOptValidator checks the options specific to the underlying logging implementation.