logger

package
v0.0.0-...-c85cc39 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 5

Documentation

Index

Constants

View Source
const DefaultLogLevel = "info"

DefaultLogLevel default log level

View Source
const DefaultLogMaxBackup = "10"

Default maximum backups for log

Variables

Log writer

Functions

func AddCallerField

func AddCallerField() *logrus.Entry

AddCallerField Add called name to the log.

func InitLogFile

func InitLogFile(configDir string, maxBackups int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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