#[repr(C)]pub enum LogTypes {
None = 0,
File = 1,
Console = 2,
Userlogging = 4,
NoNetlogging = 8,
Database = 16,
Syslog = 32,
}
Variants§
None = 0
Logging is disabled
File = 1
Log to regular log file
Console = 2
Log to standard output / error
Userlogging = 4
User defined logging. Will call the ServerLibFunctions.onUserLoggingMessageEvent
callback for every message to be logged
NoNetlogging = 8
Not used
Database = 16
Log to database (deprecated, server only, no effect in SDK)
Syslog = 32
Log to syslog (only available on Linux)
Trait Implementations§
impl Copy for LogTypes
impl Eq for LogTypes
impl StructuralPartialEq for LogTypes
Auto Trait Implementations§
impl Freeze for LogTypes
impl RefUnwindSafe for LogTypes
impl Send for LogTypes
impl Sync for LogTypes
impl Unpin for LogTypes
impl UnwindSafe for LogTypes
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