package
0.0.0-20220323031208-a99fd5a1d443
Repository: https://github.com/iskraman/golang-modules.git
Documentation: pkg.go.dev
# README
golang-modules/syslog
Golang log 모듈화
func SetLogLevel
로그 레벨 세팅
const (
DBG_LEVEL = 1
STD_LEVEL = 2
WAR_LEVEL = 3
ERR_LEVEL = 4
)
func SetLogLevel(level int)
func DBG | STD | WAR | ERR
로그 레벨에 의한 출력 관리
func DBG(format string, v ...interface{})
func STD(format string, v ...interface{})
func WAR(format string, v ...interface{})
func ERR(format string, v ...interface{})
func DBGLN(v ...interface{})
func STDLN(v ...interface{})
func WARLN(v ...interface{})
func ERRLN(v ...interface{})
[DBG] 2021/12/05 05:01:34 log 12
[STD] 2021/12/05 05:01:34 log 34
[WAR] 2021/12/05 05:01:34 log 56
[ERR] 2021/12/05 05:01:34 log 78
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author