X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/192e5a9d12fb9fd16baff2b61af011611b671983..916d57c9fe68a9e12472e4d174d38d93086c6529:/services/datamanager/loggerutil/loggerutil.go diff --git a/services/datamanager/loggerutil/loggerutil.go b/services/datamanager/loggerutil/loggerutil.go index 453f7e16bc..8111425d7a 100644 --- a/services/datamanager/loggerutil/loggerutil.go +++ b/services/datamanager/loggerutil/loggerutil.go @@ -10,7 +10,7 @@ import ( "time" ) -// Useful to call at the begining of execution to log info about the +// Useful to call at the beginning of execution to log info about the // current run. func LogRunInfo(arvLogger *logger.Logger) { if arvLogger != nil { @@ -50,12 +50,3 @@ func FatalWithMessage(arvLogger *logger.Logger, message string) { log.Fatalf(message) } - -func LogErrorMessage(arvLogger *logger.Logger, message string) { - if arvLogger != nil { - arvLogger.Update(func(p map[string]interface{}, e map[string]interface{}) { - runInfo := logger.GetOrCreateMap(p, "run_info") - runInfo["ERROR"] = message - }) - } -}