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

UB-1433: fixed earning logs #226

Merged
merged 1 commit into from
Jul 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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