mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
fs: refactor base log method name for improved consistency
This commit is contained in:
committed by
Nick Craig-Wood
parent
dfc2c98bbf
commit
4a54cc134f
@@ -51,7 +51,7 @@ func startSysLog() bool {
|
||||
}
|
||||
log.SetFlags(0)
|
||||
log.SetOutput(w)
|
||||
fs.LogPrint = func(level fs.LogLevel, text string) {
|
||||
fs.LogOutput = func(level fs.LogLevel, text string) {
|
||||
switch level {
|
||||
case fs.LogLevelEmergency:
|
||||
_ = w.Emerg(text)
|
||||
|
||||
Reference in New Issue
Block a user