feat: anonymize logs

This commit is contained in:
rhunk
2023-11-12 23:28:30 +01:00
parent 4b926f199c
commit d147dc5ce0
3 changed files with 17 additions and 2 deletions

View File

@ -619,6 +619,10 @@
"hot_reload": {
"name": "Hot Reload",
"description": "Automatically reloads scripts when they change"
},
"disable_log_anonymization": {
"name": "Disable Log Anonymization",
"description": "Disables the anonymization of logs"
}
}
}

View File

@ -7,4 +7,5 @@ class Scripting : ConfigContainer() {
val developerMode = boolean("developer_mode", false) { requireRestart() }
val moduleFolder = string("module_folder", "modules") { addFlags(ConfigFlag.FOLDER); requireRestart() }
val hotReload = boolean("hot_reload", false)
val disableLogAnonymization = boolean("disable_log_anonymization", false) { requireRestart() }
}