package
1.9.0
Repository: https://github.com/alexandrev/docker.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.
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.
No description provided by the author
Package syslog provides the logdriver for forwarding server logs to syslog endpoints.

# Functions

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 ContainerID and Timestamp.
LogWatcher is used when consuming logs read from the LogReader interface.
Message is datastructure that represents record from 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.
LogOptValidator checks the options specific to the underlying logging implementation.