X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=cmd%2Fsafcm-remote%2Fmain.go;h=a29f20c171747ac6f3a72935c33a1ca6e162dd8a;hb=fd97e8019e2ab166d9475ed59782c86247d8430b;hp=ab0bfae917286283e59bcb16af1c2ffabe15432a;hpb=5d6cc7f14a4bacc36bf3a23cd735a75ad4a90f1d;p=safcm%2Fsafcm.git diff --git a/cmd/safcm-remote/main.go b/cmd/safcm-remote/main.go index ab0bfae..a29f20c 100644 --- a/cmd/safcm-remote/main.go +++ b/cmd/safcm-remote/main.go @@ -73,11 +73,11 @@ func mainLoop() error { conn := safcm.NewGobConn(os.Stdin, os.Stdout) var logLevel safcm.LogLevel - logFunc := func(level safcm.LogLevel, format string, a ...interface{}) { + logFunc := func(level safcm.LogLevel, msg string) { if logLevel >= level { conn.Send(safcm.MsgLog{ Level: level, - Text: fmt.Sprintf(format, a...), + Text: msg, }) } }