log

package
v0.0.0-...-127562d Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultLogDir = "/var/run/hawk-eye"

Variables

This section is empty.

Functions

func ConvertLogLevel

func ConvertLogLevel(l string) logrus.Level

ConvertLogLevel maps level string to log level

func GetDefaultLogFileName

func GetDefaultLogFileName() (string, error)

func Init

func Init(flags *conf.Flags) error

Types

type Config

type Config struct {
	Level  string
	Output string
}

Jump to

Keyboard shortcuts

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