bcdfad3c83
This changes log statements from log to fs package, which is required for --use-json-log to properly make log output in JSON format. The recently added custom linting rule, handled by ruleguard via gocritic via golangci-lint, warns about these and suggests the alternative. Fixing was therefore basically running "golangci-lint run --fix", although some manual fixup of mainly imports are necessary following that. |
||
---|---|---|
.. | ||
logflags | ||
caller_hook.go | ||
log.go | ||
redirect_stderr.go | ||
redirect_stderr_unix.go | ||
redirect_stderr_windows.go | ||
syslog.go | ||
syslog_unix.go | ||
systemd.go | ||
systemd_unix.go |