logging

package
v0.0.0-...-6c8972c Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(c *viper.Viper) *logrus.Logger

func WithError

func WithError(err error, logger logrus.FieldLogger) *logrus.Entry

Types

type FluentdFormatter

type FluentdFormatter struct {
	TimestampFormat string
}

func (*FluentdFormatter) Format

func (f *FluentdFormatter) Format(entry *logrus.Entry) ([]byte, error)

Jump to

Keyboard shortcuts

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