pub enum Event {
Show 31 variants
Init,
InitError,
CreateLogger,
CreateLoggerError,
CreateLoggerEnd,
Record,
RecordError,
RecordEnd,
RecordFilterOut,
Compress,
CompressError,
CompressEnd,
Encrypt,
EncryptError,
EncryptEnd,
Flush,
FlushError,
FlushEnd,
RequestLog,
RequestLogError,
RequestLogEnd,
MapFile,
MapFileError,
MapFileEnd,
RotateFile,
RotateFileError,
Trim,
TrimError,
TrimEnd,
FFiError,
ChannelError,
}Expand description
§EZLog Event Listener
Jesse said
defining an event listener to make your systems observable. It’s a lot of power in a simple pattern.
Variants§
Init
InitError
CreateLogger
CreateLoggerError
CreateLoggerEnd
Record
RecordError
RecordEnd
RecordFilterOut
Compress
CompressError
CompressEnd
Encrypt
EncryptError
EncryptEnd
Flush
FlushError
FlushEnd
RequestLog
RequestLogError
RequestLogEnd
MapFile
MapFileError
MapFileEnd
RotateFile
RotateFileError
Trim
TrimError
TrimEnd
FFiError
ChannelError
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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