FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IAllocationFreeErrorLogger

    trait · ferroui-splat · v0.5.0

    trait IAllocationFreeErrorLogger: ILogger
    

    The allocation-free logging of an exception (IAllocationFreeErrorLogger): the exception and a message formatted from arguments, formatted only when the level is enabled.

    The ten generated overloads per level of upstream (Debug<TArgument>(Exception, string, TArgument), ...) are one method per level that takes format_args!.

    View source

    Members

    debug_exception_args

    fn debug_exception_args(self: &Self, exception: &dyn Error, args: fmt::Arguments<'_>)
    

    Writes exception with the message args at the level Debug, when the level is enabled (Debug<TArgument...>(Exception, string, TArgument...)).

    Source

    info_exception_args

    fn info_exception_args(self: &Self, exception: &dyn Error, args: fmt::Arguments<'_>)
    

    Writes exception with the message args at the level Info, when the level is enabled (Info<TArgument...>(Exception, string, TArgument...)).

    Source

    warn_exception_args

    fn warn_exception_args(self: &Self, exception: &dyn Error, args: fmt::Arguments<'_>)
    

    Writes exception with the message args at the level Warn, when the level is enabled (Warn<TArgument...>(Exception, string, TArgument...)).

    Source

    error_exception_args

    fn error_exception_args(self: &Self, exception: &dyn Error, args: fmt::Arguments<'_>)
    

    Writes exception with the message args at the level Error, when the level is enabled (Error<TArgument...>(Exception, string, TArgument...)).

    Source

    fatal_exception_args

    fn fatal_exception_args(self: &Self, exception: &dyn Error, args: fmt::Arguments<'_>)
    

    Writes exception with the message args at the level Fatal, when the level is enabled (Fatal<TArgument...>(Exception, string, TArgument...)).

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.