format

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewColorFormatter

func NewColorFormatter() logrus.Formatter

func NewPlainFormatter

func NewPlainFormatter() logrus.Formatter

Types

type ColorFormatter

type ColorFormatter struct{}

func (*ColorFormatter) Format

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

type PlainFormatter

type PlainFormatter struct{}

func (*PlainFormatter) Format

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

Jump to

Keyboard shortcuts

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