logging

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(cli config.Cli)

Configure configures logger

Types

type LogrusFormatter

type LogrusFormatter struct{}

LogrusFormatter is a logrus formatter

func (*LogrusFormatter) Format

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

Format renders a single log entry from logrus entry to zerolog

type Options

type Options struct {
	LogLevel   string
	LogJSON    bool
	LogCaller  bool
	LogNoColor bool
}

Jump to

Keyboard shortcuts

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