Update logging.go
This commit is contained in:
parent
ca1b9186f2
commit
7086a1f2a9
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ var Logger func(msgL, caller int, format string, a ...interface{})
|
||||||
// msgL : LogLevel of the message
|
// msgL : LogLevel of the message
|
||||||
// caller : 1 + the number of callers away from the message source
|
// caller : 1 + the number of callers away from the message source
|
||||||
// format : Printf style message format
|
// format : Printf style message format
|
||||||
// a ... : comma seperated list of values to pass
|
// a ... : comma separated list of values to pass
|
||||||
func msglog(msgL, caller int, format string, a ...interface{}) {
|
func msglog(msgL, caller int, format string, a ...interface{}) {
|
||||||
|
|
||||||
if Logger != nil {
|
if Logger != nil {
|
||||||
|
|
Loading…
Reference in a new issue