logger

package
v0.0.0-...-371bc73 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Init initializes logrus by configuration.

func InitLogToFile

func InitLogToFile(logPath string)

InitLogToFile inits logrus to log the info severity or above to the file.

func InitLogToFileDebug

func InitLogToFileDebug(logPath string)

InitLogToFileDebug inits logrus to log the debug severity or above to the file.

func InitLogToStdout

func InitLogToStdout()

InitLogToStdout inits logrus to log the info severity or above to Stdout.

func InitLogToStdoutDebug

func InitLogToStdoutDebug()

InitLogToStdoutDebug inits logrus to log the debug severity or above to Stdout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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