syslog

package
v27.5.1-devang+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

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

func New(info logger.Info) (logger.Logger, error)

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

func NewWithTLSConfig(info logger.Info, tlsCfg *tls.Config) (logger.Logger, error)

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

func ValidateLogOpt(cfg map[string]string) error

ValidateLogOpt looks for syslog specific log options syslog-address, syslog-facility.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL