Searched refs:LogContext (Results 1 – 2 of 2) sorted by relevance
31 pub struct LogContext { struct38 unsafe impl Send for LogContext {} argument40 impl LogContext { impl42 pub fn new(log_type: log_bindgen::log_id, tag: u32) -> Option<LogContext> { in new() argument50 Some(LogContext{ ctx, log_type }) in new()84 impl Drop for LogContext { implementation
23 use log_event_list::{LogContext, LogIdSecurity};78 F: Fn(LogContext) -> LogContext, in with_log_context() argument80 if let Some(ctx) = LogContext::new(LogIdSecurity, tag) { in with_log_context()