Struct tracing_wasm::WASMLayerConfigBuilder [−][src]
pub struct WASMLayerConfigBuilder { /* fields omitted */ }
Implementations
pub fn set_report_logs_in_timings(
&mut self,
report_logs_in_timings: bool
) -> &mut WASMLayerConfigBuilder
pub fn set_report_logs_in_timings(
&mut self,
report_logs_in_timings: bool
) -> &mut WASMLayerConfigBuilder
Set whether events should appear in performance Timings
Set the maximal level on which events should be displayed
pub fn set_console_config(
&mut self,
console_config: ConsoleConfig
) -> &mut WASMLayerConfigBuilder
pub fn set_console_config(
&mut self,
console_config: ConsoleConfig
) -> &mut WASMLayerConfigBuilder
Set if and how events should be displayed in the browser console
Build the WASMLayerConfig
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for WASMLayerConfigBuilder
impl Send for WASMLayerConfigBuilder
impl Sync for WASMLayerConfigBuilder
impl Unpin for WASMLayerConfigBuilder
impl UnwindSafe for WASMLayerConfigBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more