log

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SuccessColor = color.New(color.FgGreen)

Functions

This section is empty.

Types

type OutputFormatter

type OutputFormatter struct {
	DisableColors bool
}

func (*OutputFormatter) Format

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

Format is used by logrus to print logs in stdout. This formatter is basic and just print the message.

Jump to

Keyboard shortcuts

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