This should not have any impact on existing configs since bincode claims compatibility of the wire format between 1.3.3 and 2.0.0.
16 lines
429 B
Rust
16 lines
429 B
Rust
//! Tools for modifying the logging behavior of the compositor.
|
|
//!
|
|
//! Note that you can use the `log` crate for logging. All invocations of `log::info` etc.
|
|
//! automatically log into the compositors log.
|
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
/// The log level of the compositor or a log message.
|
|
#[derive(Serialize, Deserialize, Copy, Clone, Debug)]
|
|
pub enum LogLevel {
|
|
Error,
|
|
Warn,
|
|
Info,
|
|
Debug,
|
|
Trace,
|
|
}
|