Categorygithub.com/krostar/logrushooks
modulepackage
0.2.0
Repository: https://github.com/krostar/logrushooks.git
Documentation: pkg.go.dev

# README

logrushooks

Description

logrushooks is a project containing few hooks to plug to logrus to add some features or context to each log.

Hooks

Here the list of all hooks:

# Functions

NewCallerHook creates a new caller hook based on the options.
NewFieldsHook creates a new Fields hook based on the options.

# Variables

DefaultCallerOptions stores the default options for the caller hook.
DefaultFieldsOptions stores the default options for the Fields hook.
ErrCallerError defines a runtime.Caller error.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author