logger

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogger

func GetLogger(prefix string) *logrus.Entry

GetLogger returns a configured logger instance

func WithFile

func WithFile(log *logrus.Entry, logfile string)

WithFile logs to the specified file in addition to the existing output.

func WithNoStdOutErr

func WithNoStdOutErr(log *logrus.Entry)

WithNoStdOutErr disables logging to stdout/stderr.

Types

This section is empty.

Jump to

Keyboard shortcuts

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