pub enum Channel {
Error,
Warning,
Info,
Debug,
Trace,
}Expand description
Standardized log channels shared across the application. Note: “event” here means a series of messages with a specific effect
Variants§
Error
Anything that leads to a panic
Warning
Unexpected behavior that doesn’t stop the game/lead to a panic
Info
Important events, to be emitted by the Orchestrator once the last ack message in the conversation is recieved. The events this level should be used for are:
Debug
All other events that are not covered by Channel::Info
Trace
All messages
Trait Implementations§
impl Eq for Channel
impl StructuralPartialEq for Channel
Auto Trait Implementations§
impl Freeze for Channel
impl RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl UnwindSafe for Channel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more