config: add various new functions
This commit is contained in:
parent
f1a3705699
commit
e24a61bc62
12 changed files with 435 additions and 28 deletions
|
|
@ -14,3 +14,8 @@ pub enum LogLevel {
|
|||
Debug,
|
||||
Trace,
|
||||
}
|
||||
|
||||
/// Sets the log level of the compositor.
|
||||
pub fn set_log_level(level: LogLevel) {
|
||||
get!().set_log_level(level);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue