config: add documentation
This commit is contained in:
parent
6916f03e94
commit
fe80440f38
36 changed files with 620 additions and 199 deletions
16
jay-config/src/logging.rs
Normal file
16
jay-config/src/logging.rs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
//! 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 bincode::{Decode, Encode};
|
||||
|
||||
/// The log level of the compositor or a log message.
|
||||
#[derive(Encode, Decode, Copy, Clone, Debug)]
|
||||
pub enum LogLevel {
|
||||
Error,
|
||||
Warn,
|
||||
Info,
|
||||
Debug,
|
||||
Trace,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue