log

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: ISC Imports: 7 Imported by: 0

Documentation

Overview

Package log provides a connector between gin and logrus.

Package log provides functionality to configure the logger.

Index

Constants

This section is empty.

Variables

L is the global logger instance for PushBits.

Functions

func GinLogger

func GinLogger(logger logrus.FieldLogger, notLogged ...string) gin.HandlerFunc

GinLogger integrates logrus with gin

func SetDebug

func SetDebug()

SetDebug sets the logger to output debug information.

Types

This section is empty.

Jump to

Keyboard shortcuts

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