package
0.3.5
Repository: https://github.com/netrixframework/netrix.git
Documentation: pkg.go.dev

# Functions

Debug logs a debug message with the default logger.
Destroy closes the log file.
Errors logs a message with level `error` with the default logger.
Fatal logs the message and exits with non-zero exit code with the default logger.
Info logs a message with level `info` with the default logger.
Init initializes the default logger with a log path if specified.
NewLogger instantiates logger based on the config.
SetLevel sets the level of the default logger.
Warn logs a message with level `warning` with the default logger.
With returns a logger with the specified parameters.

# Variables

DefaultLogger stores the instance of the DefaultLogger.

# Structs

Logger for logging.

# Type aliases

LogParams wrapper around key values used for logging.