Enum glib::GlibLoggerDomain [−][src]
pub enum GlibLoggerDomain {
None,
CrateTarget,
CratePath,
}Expand description
Enumeration of the possible domain handling behaviours for a
GlibLogger.
In order to use this type, glib must be built with the log feature
enabled.
Variants
Logs will have no domain specified.
Logs will use the target of the log crate as a domain; this allows
Rust code like warn!(target: "my-domain", "..."); to log to the glib
logger using the specified domain.
Logs will use the crate path as the log domain.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GlibLoggerDomainimpl Send for GlibLoggerDomainimpl Sync for GlibLoggerDomainimpl Unpin for GlibLoggerDomainimpl UnwindSafe for GlibLoggerDomainBlanket Implementations
Mutably borrows from an owned value. Read more