Documentation
¶
Overview ¶
Modified by Devang on 2025-12-15 Changes: add NewWithTLSConfig for programmatic TLS Config.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New creates a syslog logger using the configuration passed in on the context. Supported context configuration variables are syslog-address, syslog-facility, syslog-format.
func NewWithTLSConfig ¶
NewWithTLSConfig is for programmatic use (not Docker engine). It allows the caller to provide a pre-built *tls.Config (for example, using a custom *x509.CertPool) instead of configuring TLS purely via file paths in info.Config.
func ValidateLogOpt ¶
ValidateLogOpt looks for syslog specific log options syslog-address, syslog-facility.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.