Skip to main content

Module log

Module log 

Source
Expand description

Compatibility layer preserving the pre-v0.5 apple_log::log API.

Re-exports§

pub use crate::logger::Logger;
pub use crate::logger::Privacy;
pub use crate::os_activity::active_activity_id;
pub use crate::os_activity::active_activity_ids;
pub use crate::os_activity::ActivityIds;
pub use crate::os_log::Level;
pub use crate::os_log::CATEGORY_DYNAMIC_STACK_TRACING;
pub use crate::os_log::CATEGORY_DYNAMIC_TRACING;
pub use crate::os_log::CATEGORY_POINTS_OF_INTEREST;
pub use crate::os_signpost_id::OSSignpostId;
pub use crate::os_signpost_id::SignpostId;

Functions§

log
Emits a message through Logger::default().
log_enabled
Returns whether Logger::default() enables the requested level.
log_with_privacy
Emits a message through Logger::default() with explicit privacy.