1
mirror of https://github.com/rclone/rclone synced 2024-11-25 02:47:14 +01:00
rclone/fs/log
albertony bcdfad3c83 build: update logging statements to make json log work - fixes #6038
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.
2024-09-06 17:04:18 +01:00
..
logflags log: convert options to new style 2024-07-15 11:09:54 +01:00
caller_hook.go fs: convert main options to new config system 2024-07-15 11:09:54 +01:00
log.go build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
redirect_stderr_unix.go build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
redirect_stderr_windows.go build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
redirect_stderr.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
syslog_unix.go build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
syslog.go build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
systemd_unix.go fs: refactor base log method name for improved consistency 2024-09-06 17:04:18 +01:00
systemd.go build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00