package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Oct 14, 2021
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package Logger provides a singleton which allows consistent logging across
the application.
Get returns logger. If logger isn't setup, it will exit with fatal.
Setup logger. If it fails to setup, it will exit with fatal.
type Options struct {
FileLevel string `validate:"required,gte=3"`
FilePath string `validate:"required"`
Level string `validate:"required,gte=3"`
}
Options for logging .
Default options values for empty fields.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.