fs: refactor base log method name for improved consistency

This commit is contained in:
albertony
2024-06-07 12:42:52 +02:00
committed by Nick Craig-Wood
parent dfc2c98bbf
commit 4a54cc134f
5 changed files with 13 additions and 13 deletions

View File

@@ -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)