Code: refresh code
This commit is contained in:
@ -97,3 +97,9 @@ func newLog(logLevel LogLevel, format string, v ...interface{}) *Event {
|
||||
Payload: fmt.Sprintf(format, v...),
|
||||
}
|
||||
}
|
||||
|
||||
func PrintLog(logLevel LogLevel, format string, v ...interface{}) {
|
||||
event := newLog(logLevel, format, v...)
|
||||
logCh <- event
|
||||
print(event)
|
||||
}
|
||||
|
Reference in New Issue
Block a user