logger

package
v0.0.0-...-6343707 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogConfig

func GetLogConfig() log.LogConfig

Retrieve loaded log configuration.

Returns: log.LogConfig Loaded Log Configuration

func LoadLoggerConfigFromFile

func LoadLoggerConfigFromFile(encoding parsers.Encoding, filePath string) (*log.LogConfig, error)

Provides read access to log configuration and parse from a File.

Parameters:

encoding (parsers.Encoding) File Encoding type (JSON, XML, YAML)
filePath (string) File full path

Returns: error Any suitable error risen during code execution

func SetLogConfig

func SetLogConfig(config log.LogConfig)

Set loaded log configuration.

Paraeters: config (log.LogConfig) Loaded Log Configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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