formatter

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CapitalizeFormatter

type CapitalizeFormatter struct {
	logrus.Formatter
}

CapitalizeFormatter implements the Formatter interface for customizing the logging to our needs

func (CapitalizeFormatter) Format

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

Format capitalizes the first letter of entry's message

type GRPCFormatter

type GRPCFormatter struct {
	logrus.TextFormatter
}

func (*GRPCFormatter) Format

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

Jump to

Keyboard shortcuts

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