Make Logging configurable
This commit is contained in:
1 parent
9ac4bdbd50
commit
bcbde20623
8 files changed
+141
-15
No files matched your search
@@ -4,11 +4,15 @@ use serde::{Deserialize, Serialize};
|
||||
pub struct CommandsConfig {
|
||||
/// Are commands from the Console accepted ?
|
||||
pub use_console: bool,
|
||||
// TODO: commands...
|
||||
/// Should be commands from players be logged in console?
|
||||
pub log_console: bool, // TODO: commands...
|
||||
}
|
||||
|
||||
impl Default for CommandsConfig {
|
||||
fn default() -> Self {
|
||||
Self { use_console: true }
|
||||
Self {
|
||||
use_console: true,
|
||||
log_console: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user