logger

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultLogFilename = "ahab.combined.log"

Variables

View Source
var DefaultLogFile = DefaultLogFilename

DefaultLogFile can be overridden to use a different file name for upstream consumers

Functions

func GetLogger

func GetLogger(level logrus.Level) (*logrus.Logger, error)

func LogFileLocation

func LogFileLocation() (result string, err error)

LogFileLocation will return the location on disk of the log file

func PrintErrorAndLogLocation

func PrintErrorAndLogLocation(err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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