logger

package
v0.0.0-...-bcfd2cf Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Log custom logger initialized with Setup function

Functions

func Debug

func Debug(action, message string, params Params)

Debug level log message

func Error

func Error(action string, err error, params Params)

Error level log message

func Info

func Info(action, message string, params Params)

Info level log message

func Panic

func Panic(action string, err error, params Params)

Panic level log message

func Setup

func Setup()

Setup creates the new logger with custom configuration

func Warn

func Warn(action, message string, params Params)

Warn level log message

Types

type Fields

type Fields logrus.Fields

Fields logrus Fields type

type Params

type Params map[string]interface{}

Params mapping of string to interface to print params in logs

Jump to

Keyboard shortcuts

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