X-Git-Url: https://ruderich.org/simon/gitweb/?p=safcm%2Fsafcm.git;a=blobdiff_plain;f=cmd%2Fsafcm-remote%2Fmain.go;h=a29f20c171747ac6f3a72935c33a1ca6e162dd8a;hp=ab0bfae917286283e59bcb16af1c2ffabe15432a;hb=b2d5dd94dfb0cf2154f7c2da4b2e0bd292fed77e;hpb=b833e6d877e00290146fcd1e75a533664cf2dcb7 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, }) } }