logger

package
v14.35.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(cfg *config.Config) io.Closer

Configure configures the logging singleton for operation inside a remote TTY (like SSH). In this mode an empty LogFile is not accepted and syslog is used as a fallback when LogFile could not be opened for writing.

func ConfigureStandalone

func ConfigureStandalone(cfg *config.Config) io.Closer

ConfigureStandalone configures the logging singleton for standalone operation. In this mode an empty LogFile is treated as logging to stderr, and standard output is used as a fallback when LogFile could not be opened for writing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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