package
Version:
v0.0.0-...-bcfd2cf
Opens a new window with list of versions in this module.
Published: Mar 10, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
- Variables
-
func Debug(action, message string, params Params)
-
func Error(action string, err error, params Params)
-
func Info(action, message string, params Params)
-
func Panic(action string, err error, params Params)
-
func Setup()
-
func Warn(action, message string, params Params)
-
type Fields
-
type Params
Log custom logger initialized with Setup function
Setup creates the new logger with custom configuration
Fields logrus Fields type
type Params map[string]interface{}
Params mapping of string to interface to print params in logs
Source Files
¶
Click to show internal directories.
Click to hide internal directories.