FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IAllocationFreeLogger

    trait · ferroui-splat · v0.5.0

    trait IAllocationFreeLogger: IAllocationFreeErrorLogger
    

    The allocation-free logging of messages (IAllocationFreeLogger): whether each level is enabled, and a message formatted from arguments, formatted only when the level is enabled.

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

    View source

    Members

    is_debug_enabled

    fn is_debug_enabled(self: &Self) -> bool
    

    Whether the level Debug is enabled (IsDebugEnabled).

    Source

    is_info_enabled

    fn is_info_enabled(self: &Self) -> bool
    

    Whether the level Info is enabled (IsInfoEnabled).

    Source

    is_warn_enabled

    fn is_warn_enabled(self: &Self) -> bool
    

    Whether the level Warn is enabled (IsWarnEnabled).

    Source

    is_error_enabled

    fn is_error_enabled(self: &Self) -> bool
    

    Whether the level Error is enabled (IsErrorEnabled).

    Source

    is_fatal_enabled

    fn is_fatal_enabled(self: &Self) -> bool
    

    Whether the level Fatal is enabled (IsFatalEnabled).

    Source

    debug_args

    fn debug_args(self: &Self, args: fmt::Arguments<'_>)
    

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

    Source

    info_args

    fn info_args(self: &Self, args: fmt::Arguments<'_>)
    

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

    Source

    warn_args

    fn warn_args(self: &Self, args: fmt::Arguments<'_>)
    

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

    Source

    error_args

    fn error_args(self: &Self, args: fmt::Arguments<'_>)
    

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

    Source

    fatal_args

    fn fatal_args(self: &Self, args: fmt::Arguments<'_>)
    

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

    Source

    Trait implementations

    Availability

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