mirror of
https://github.com/rclone/rclone.git
synced 2025-08-17 17:11:37 +02:00
fs: convert main options to new config system
There are some flags which haven't been converted which could be converted in the future.
This commit is contained in:
@ -57,6 +57,9 @@ func (logLevelChoices) Type() string {
|
||||
// LogPrintPid enables process pid in log
|
||||
var LogPrintPid = false
|
||||
|
||||
// InstallJSONLogger is a hook that --use-json-log calls
|
||||
var InstallJSONLogger = func(logLevel LogLevel) {}
|
||||
|
||||
// LogPrint sends the text to the logger of level
|
||||
var LogPrint = func(level LogLevel, text string) {
|
||||
text = fmt.Sprintf("%-6s: %s", level, text)
|
||||
|
Reference in New Issue
Block a user