logger

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogDirectoryListing

func LogDirectoryListing(destination string, maxEntries int)

func NamedLogger

func NamedLogger(name string) logrus.Logger

NamedLogger creates named package logger.

Types

type CustomTextFormatter

type CustomTextFormatter struct {
	logrus.TextFormatter
	Name string
}

CustomTextFormatter ...

func (*CustomTextFormatter) Format

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

Format renders a single log entry

Jump to

Keyboard shortcuts

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