Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logging ¶
type Logging struct { *Writers Loggers []json.RawMessage `json:"loggers" caddy:"namespace=config.logging.loggers inline_key=logger"` }
func (Logging) CaddyModule ¶
func (d Logging) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
type Writer ¶
type Writer struct { Name string `json:"name"` ConfigRaw json.RawMessage `json:"config" caddy:"namespace=caddy.logging.writers inline_key=output"` }
Writer define a caddy.logging.writer config
type Writers ¶
type Writers struct { Writers []Writer `json:"writers,omitempty" caddy:"namespace=config.logging.writers"` // contains filtered or unexported fields }
Writers define a list of caddy.logging.writers, which can be referenced later by name
func (Writers) CaddyModule ¶
func (w Writers) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
Click to show internal directories.
Click to hide internal directories.