Skip to main content

LogTarget

Trait LogTarget 

Source
pub(crate) trait LogTarget {
    // Required method
    fn log_target(&self) -> &'static str;
}
Expand description

Get the log target for an event, as a static string.

Required Methods§

Source

fn log_target(&self) -> &'static str

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl LogTarget for EmbedderToConstellationMessage

Source§

fn log_target(&self) -> &'static str

Source§

impl LogTarget for InputEventAndId

Source§

fn log_target(&self) -> &'static str

Source§

impl LogTarget for ScriptToConstellationMessage

Source§

fn log_target(&self) -> &'static str

Implementors§