Replace log package Output() function usage with Printf() function,
which do not return error status and hence suites better for SDL logger
module use case.
Issue-Id: RIC-942
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I0f0e0e654d87f8da3f074e52a0ae25fef8d76159
}
func (dbLog *logger) Printf(ctx context.Context, format string, v ...interface{}) {
}
func (dbLog *logger) Printf(ctx context.Context, format string, v ...interface{}) {
- dbLog.log.Output(2, fmt.Sprintf(format, v...))
+ dbLog.log.Printf(format, v...)