Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
UB-1433: fixed warning log (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
olgashtivelman authored Jul 24, 2018
1 parent 4572f66 commit 0246249
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/logs/go_logging_logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ func (l *goLoggingLogger) ErrorRet(err error, str string, args ...Args) error {
}

func (l *goLoggingLogger) Warning(str string, args ...Args) {
l.logger.Warning(str+" %v", args)
goid_context_string := l.getContextStringFromGoid()
l.logger.Warning(fmt.Sprintf("[%s] %s %v", goid_context_string, str, args))
}

func (l *goLoggingLogger) Trace(level Level, args ...Args) func() {
Expand Down

0 comments on commit 0246249

Please sign in to comment.