logger

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigLocalFilesystemLogger

func ConfigLocalFilesystemLogger(logPath string, state bool)

config logrus log to local filesystem, with file rotation

func Debug

func Debug(format string, args ...interface{})

func Error

func Error(format string, args ...interface{})

func Fatal

func Fatal(format string, args ...interface{})

func GetLogger

func GetLogger() *logrus.Logger

func Info

func Info(format string, args ...interface{})

func Panic

func Panic(format string, args ...interface{})

func Printf

func Printf(format string, args ...interface{})

func SetConsole

func SetConsole(state bool)

func Warn

func Warn(format string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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