Lines Matching full:log
9 /// The `Log` enum provides a Rust abstraction for logging errors, corresponding
11 pub enum Log { enum
12 /// Log invalid access caused by the guest.
16 /// Log guest access of unimplemented functionality.
21 /// A macro to log messages conditionally based on a provided mask.
24 /// log level and, if so, formats and logs the message. It is the Rust
29 /// - `$mask`: A log level mask. This should be a variant of the `Log` enum.
31 /// macro. It specifies the structure of the log message.
37 /// use qemu_api::{log::Log, log_mask_ln};
40 /// log_mask_ln!(Log::GuestError, "Address 0x{error_address:x} out of range");
47 /// use qemu_api::{log::Log, log_mask_ln};
51 /// Log::GuestError,
59 // Type assertion to enforce type `Log` for $mask
60 let _: Log = $mask;