formatter

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 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