logger

package
v0.0.52 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOGLEVEL_ERROR = log.ErrorLevel
	LOGLEVEL_WARN  = log.WarnLevel
	LOGLEVEL_INFO  = log.InfoLevel
)
View Source
const (
	ERRTYPE_COPY         = "copy"
	ERRTYPE_SCOPE        = "scope"
	ERRTYPE_COMMAND      = "command"
	ERRTYPE_FILE         = "file"
	ERRTYPE_MD5          = "md5"
	ERRTYPE_ZIP          = "zip"
	ERRTYPE_MAXSIZELIMIT = "maxsizelimit"
)

Variables

This section is empty.

Functions

func Log

func Log(level log.Level, module, errType string, msg ...interface{}) error

write log param - level log level param - errType param - msg error msg return - error / nil INFO / WARN - nil; ERROR - return error msg

Types

This section is empty.

Jump to

Keyboard shortcuts

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