package
0.0.0-20220427123902-07a5fb377621
Repository: https://github.com/ekliptor/bchd-monitor.git
Documentation: pkg.go.dev

# Functions

Creates a new logger config based on viper config settings.
NewLogger returns an instance of logger.
No description provided by the author

# Constants

Debug has verbose message.
expose the default logger in a variable.
Error is for logging errors.
Fatal is for logging fatal messages.
Info is default log level.
No description provided by the author
No description provided by the author
Warn is for logging messages about possible issues.

# Variables

A global variable so that log functions can be directly accessed.

# Structs

Configuration stores the config for the logger For some loggers there can only be one level across writers, for such the level of Console is picked by default.

# Interfaces

Logger is our contract for the logger.

# Type aliases

Fields Type to pass when we want to call WithFields for structured logging.
No description provided by the author
Define a type for parameters in functions.