]> ruderich.org/simon Gitweb - safcm/safcm.git/commit
sync: replace log.Logger interface with struct
authorSimon Ruderich <simon@ruderich.org>
Wed, 12 May 2021 06:14:26 +0000 (08:14 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 12 May 2021 06:25:34 +0000 (08:25 +0200)
commitb833e6d877e00290146fcd1e75a533664cf2dcb7
tree651bc3e94ae202fd5f10e062b42687698a2ccdec
parent70e11dc890b93ab83195188a49649be7e8e6a249
sync: replace log.Logger interface with struct

PrefixLogger is the only implementation of Logger. Simply remove the
interface and rename PrefixLogger to Logger.
cmd/safcm-remote/info/info.go
cmd/safcm-remote/log/logger.go
cmd/safcm-remote/run/cmd.go
cmd/safcm-remote/sync/sync.go