logger

package
v0.0.63 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LoglevelError = log.ErrorLevel
	LoglevelWarn  = log.WarnLevel
	LoglevelInfo  = log.InfoLevel
)
View Source
const (
	ErrtypeCopy         = "copy"
	ErrtypeScope        = "scope"
	ErrtypeCommand      = "command"
	ErrtypeFile         = "file"
	ErrtypeMd5          = "md5"
	ErrtypeZip          = "zip"
	ErrtypeMaxsizelimit = "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