changeset 5116:a4c8ed61e4df queued-stage-done

Fixed supression of first log in review.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 25 Mar 2020 18:34:54 +0100
parents bb5459faadb7
children 37784b70eea3
files pkg/imports/queue.go
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/imports/queue.go	Wed Mar 25 18:02:46 2020 +0100
+++ b/pkg/imports/queue.go	Wed Mar 25 18:34:54 2020 +0100
@@ -718,6 +718,18 @@
 	sfl.logFeedback.log(kind, format, args)
 }
 
+func (sfl *supressFirstLog) Info(format string, args ...interface{}) {
+	sfl.log("info", format, args...)
+}
+
+func (sfl *supressFirstLog) Warn(format string, args ...interface{}) {
+	sfl.log("warn", format, args...)
+}
+
+func (sfl *supressFirstLog) Error(format string, args ...interface{}) {
+	sfl.log("error", format, args...)
+}
+
 func survive(fn func() error) func() error {
 	return func() (err error) {
 		defer func() {