log

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConsole added in v0.1.0

func InitConsole()

func InitLogFile

func InitLogFile(logPath string) error

Types

type BtmHook

type BtmHook struct {
	// contains filtered or unexported fields
}

func (*BtmHook) Fire

func (hook *BtmHook) Fire(entry *logrus.Entry) error

func (*BtmHook) Levels

func (hook *BtmHook) Levels() []logrus.Level

Levels returns configured logs levels.

Jump to

Keyboard shortcuts

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