FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IFullLogger

    trait · ferroui-splat · v0.5.0

    trait IFullLogger: IAllocationFreeLogger
    

    A logger with a method per level and kind of message (IFullLogger).

    As upstream's WrappingFullLogger, the methods that take a value or a function check the level first, so that nothing is formatted or computed for a level that is disabled; the methods that take a message hand it to the logger, which filters by level.

    The overloads with an IFormatProvider are the _format methods: Rust's formatting does not depend on a culture.

    View source

    Members

    debug_value

    fn debug_value(self: &Self, value: &dyn fmt::Display)
    

    Writes the text of value at the level Debug, when the level is enabled (Debug<T>(T value)).

    Source

    debug_exception

    fn debug_exception(self: &Self, exception: &dyn Error, message: &str)
    

    Writes exception with message at the level Debug (Debug(Exception, string?)).

    Source

    debug

    fn debug(self: &Self, message: &str)
    

    Writes message at the level Debug (Debug(string?)).

    Source

    debug_with_type

    fn debug_with_type(self: &Self, type_name: &'static str, message: &str)
    

    Writes message of the type type_name at the level Debug (Debug<T>(string?)).

    Source

    debug_format

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

    Writes the message args at the level Debug (Debug(string, params object[]), Debug(IFormatProvider, string, params object[]), Debug<T>(IFormatProvider, T) and Debug<TArgument...>(IFormatProvider, string, TArgument...)).

    Source

    debug_format_with_type

    fn debug_format_with_type(self: &Self, type_name: &'static str, args: fmt::Arguments<'_>)
    

    Writes the message args of the type type_name at the level Debug (Debug<T>(string, params object[])).

    Source

    debug_fn

    fn debug_fn(self: &Self, function: &dyn Fn() -> String)
    

    Writes the message function returns at the level Debug; the function is called only when the level is enabled (Debug(Func<string>)).

    Source

    debug_fn_with_type

    fn debug_fn_with_type(self: &Self, type_name: &'static str, function: &dyn Fn() -> String)
    

    Writes the message function returns, of the type type_name, at the level Debug; the function is called only when the level is enabled (Debug<T>(Func<string>)).

    Source

    debug_exception_fn

    fn debug_exception_fn(self: &Self, exception: &dyn Error, function: &dyn Fn() -> String)
    

    Writes exception with the message function returns at the level Debug; the function is called only when the level is enabled (Debug(Exception, Func<string>)).

    Source

    debug_exception_message

    fn debug_exception_message(self: &Self, message: &str, exception: &dyn Error)
    

    Writes exception with message: exception at the level Debug (DebugException(string?, Exception)).

    Deprecated. Use debug_exception(exception, message)

    Source

    debug_exception_message_fn

    fn debug_exception_message_fn(self: &Self, function: &dyn Fn() -> String, exception: &dyn Error)
    

    Writes exception with message: exception, the message returned by function, at the level Debug; the function is called only when the level is enabled (DebugException(Func<string>, Exception)).

    Deprecated. Use debug_exception_fn(exception, function)

    Source

    info_value

    fn info_value(self: &Self, value: &dyn fmt::Display)
    

    Writes the text of value at the level Info, when the level is enabled (Info<T>(T value)).

    Source

    info_exception

    fn info_exception(self: &Self, exception: &dyn Error, message: &str)
    

    Writes exception with message at the level Info (Info(Exception, string?)).

    Source

    info

    fn info(self: &Self, message: &str)
    

    Writes message at the level Info (Info(string?)).

    Source

    info_with_type

    fn info_with_type(self: &Self, type_name: &'static str, message: &str)
    

    Writes message of the type type_name at the level Info (Info<T>(string?)).

    Source

    info_format

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

    Writes the message args at the level Info (Info(string, params object[]), Info(IFormatProvider, string, params object[]), Info<T>(IFormatProvider, T) and Info<TArgument...>(IFormatProvider, string, TArgument...)).

    Source

    info_format_with_type

    fn info_format_with_type(self: &Self, type_name: &'static str, args: fmt::Arguments<'_>)
    

    Writes the message args of the type type_name at the level Info (Info<T>(string, params object[])).

    Source

    info_fn

    fn info_fn(self: &Self, function: &dyn Fn() -> String)
    

    Writes the message function returns at the level Info; the function is called only when the level is enabled (Info(Func<string>)).

    Source

    info_fn_with_type

    fn info_fn_with_type(self: &Self, type_name: &'static str, function: &dyn Fn() -> String)
    

    Writes the message function returns, of the type type_name, at the level Info; the function is called only when the level is enabled (Info<T>(Func<string>)).

    Source

    info_exception_fn

    fn info_exception_fn(self: &Self, exception: &dyn Error, function: &dyn Fn() -> String)
    

    Writes exception with the message function returns at the level Info; the function is called only when the level is enabled (Info(Exception, Func<string>)).

    Source

    info_exception_message

    fn info_exception_message(self: &Self, message: &str, exception: &dyn Error)
    

    Writes exception with message: exception at the level Info (InfoException(string?, Exception)).

    Deprecated. Use info_exception(exception, message)

    Source

    info_exception_message_fn

    fn info_exception_message_fn(self: &Self, function: &dyn Fn() -> String, exception: &dyn Error)
    

    Writes exception with message: exception, the message returned by function, at the level Info; the function is called only when the level is enabled (InfoException(Func<string>, Exception)).

    Deprecated. Use info_exception_fn(exception, function)

    Source

    warn_value

    fn warn_value(self: &Self, value: &dyn fmt::Display)
    

    Writes the text of value at the level Warn, when the level is enabled (Warn<T>(T value)).

    Source

    warn_exception

    fn warn_exception(self: &Self, exception: &dyn Error, message: &str)
    

    Writes exception with message at the level Warn (Warn(Exception, string?)).

    Source

    warn

    fn warn(self: &Self, message: &str)
    

    Writes message at the level Warn (Warn(string?)).

    Source

    warn_with_type

    fn warn_with_type(self: &Self, type_name: &'static str, message: &str)
    

    Writes message of the type type_name at the level Warn (Warn<T>(string?)).

    Source

    warn_format

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

    Writes the message args at the level Warn (Warn(string, params object[]), Warn(IFormatProvider, string, params object[]), Warn<T>(IFormatProvider, T) and Warn<TArgument...>(IFormatProvider, string, TArgument...)).

    Source

    warn_format_with_type

    fn warn_format_with_type(self: &Self, type_name: &'static str, args: fmt::Arguments<'_>)
    

    Writes the message args of the type type_name at the level Warn (Warn<T>(string, params object[])).

    Source

    warn_fn

    fn warn_fn(self: &Self, function: &dyn Fn() -> String)
    

    Writes the message function returns at the level Warn; the function is called only when the level is enabled (Warn(Func<string>)).

    Source

    warn_fn_with_type

    fn warn_fn_with_type(self: &Self, type_name: &'static str, function: &dyn Fn() -> String)
    

    Writes the message function returns, of the type type_name, at the level Warn; the function is called only when the level is enabled (Warn<T>(Func<string>)).

    Source

    warn_exception_fn

    fn warn_exception_fn(self: &Self, exception: &dyn Error, function: &dyn Fn() -> String)
    

    Writes exception with the message function returns at the level Warn; the function is called only when the level is enabled (Warn(Exception, Func<string>)).

    Source

    warn_exception_message

    fn warn_exception_message(self: &Self, message: &str, exception: &dyn Error)
    

    Writes exception with message: exception at the level Warn (WarnException(string?, Exception)).

    Deprecated. Use warn_exception(exception, message)

    Source

    warn_exception_message_fn

    fn warn_exception_message_fn(self: &Self, function: &dyn Fn() -> String, exception: &dyn Error)
    

    Writes exception with message: exception, the message returned by function, at the level Warn; the function is called only when the level is enabled (WarnException(Func<string>, Exception)).

    Deprecated. Use warn_exception_fn(exception, function)

    Source

    error_value

    fn error_value(self: &Self, value: &dyn fmt::Display)
    

    Writes the text of value at the level Error, when the level is enabled (Error<T>(T value)).

    Source

    error_exception

    fn error_exception(self: &Self, exception: &dyn Error, message: &str)
    

    Writes exception with message at the level Error (Error(Exception, string?)).

    Source

    error

    fn error(self: &Self, message: &str)
    

    Writes message at the level Error (Error(string?)).

    Source

    error_with_type

    fn error_with_type(self: &Self, type_name: &'static str, message: &str)
    

    Writes message of the type type_name at the level Error (Error<T>(string?)).

    Source

    error_format

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

    Writes the message args at the level Error (Error(string, params object[]), Error(IFormatProvider, string, params object[]), Error<T>(IFormatProvider, T) and Error<TArgument...>(IFormatProvider, string, TArgument...)).

    Source

    error_format_with_type

    fn error_format_with_type(self: &Self, type_name: &'static str, args: fmt::Arguments<'_>)
    

    Writes the message args of the type type_name at the level Error (Error<T>(string, params object[])).

    Source

    error_fn

    fn error_fn(self: &Self, function: &dyn Fn() -> String)
    

    Writes the message function returns at the level Error; the function is called only when the level is enabled (Error(Func<string>)).

    Source

    error_fn_with_type

    fn error_fn_with_type(self: &Self, type_name: &'static str, function: &dyn Fn() -> String)
    

    Writes the message function returns, of the type type_name, at the level Error; the function is called only when the level is enabled (Error<T>(Func<string>)).

    Source

    error_exception_fn

    fn error_exception_fn(self: &Self, exception: &dyn Error, function: &dyn Fn() -> String)
    

    Writes exception with the message function returns at the level Error; the function is called only when the level is enabled (Error(Exception, Func<string>)).

    Source

    error_exception_message

    fn error_exception_message(self: &Self, message: &str, exception: &dyn Error)
    

    Writes exception with message: exception at the level Error (ErrorException(string?, Exception)).

    Deprecated. Use error_exception(exception, message)

    Source

    error_exception_message_fn

    fn error_exception_message_fn(self: &Self, function: &dyn Fn() -> String, exception: &dyn Error)
    

    Writes exception with message: exception, the message returned by function, at the level Error; the function is called only when the level is enabled (ErrorException(Func<string>, Exception)).

    Deprecated. Use error_exception_fn(exception, function)

    Source

    fatal_value

    fn fatal_value(self: &Self, value: &dyn fmt::Display)
    

    Writes the text of value at the level Fatal, when the level is enabled (Fatal<T>(T value)).

    Source

    fatal_exception

    fn fatal_exception(self: &Self, exception: &dyn Error, message: &str)
    

    Writes exception with message at the level Fatal (Fatal(Exception, string?)).

    Source

    fatal

    fn fatal(self: &Self, message: &str)
    

    Writes message at the level Fatal (Fatal(string?)).

    Source

    fatal_with_type

    fn fatal_with_type(self: &Self, type_name: &'static str, message: &str)
    

    Writes message of the type type_name at the level Fatal (Fatal<T>(string?)).

    Source

    fatal_format

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

    Writes the message args at the level Fatal (Fatal(string, params object[]), Fatal(IFormatProvider, string, params object[]), Fatal<T>(IFormatProvider, T) and Fatal<TArgument...>(IFormatProvider, string, TArgument...)).

    Source

    fatal_format_with_type

    fn fatal_format_with_type(self: &Self, type_name: &'static str, args: fmt::Arguments<'_>)
    

    Writes the message args of the type type_name at the level Fatal (Fatal<T>(string, params object[])).

    Source

    fatal_fn

    fn fatal_fn(self: &Self, function: &dyn Fn() -> String)
    

    Writes the message function returns at the level Fatal; the function is called only when the level is enabled (Fatal(Func<string>)).

    Source

    fatal_fn_with_type

    fn fatal_fn_with_type(self: &Self, type_name: &'static str, function: &dyn Fn() -> String)
    

    Writes the message function returns, of the type type_name, at the level Fatal; the function is called only when the level is enabled (Fatal<T>(Func<string>)).

    Source

    fatal_exception_fn

    fn fatal_exception_fn(self: &Self, exception: &dyn Error, function: &dyn Fn() -> String)
    

    Writes exception with the message function returns at the level Fatal; the function is called only when the level is enabled (Fatal(Exception, Func<string>)).

    Source

    fatal_exception_message

    fn fatal_exception_message(self: &Self, message: &str, exception: &dyn Error)
    

    Writes exception with message: exception at the level Fatal (FatalException(string?, Exception)).

    Deprecated. Use fatal_exception(exception, message)

    Source

    fatal_exception_message_fn

    fn fatal_exception_message_fn(self: &Self, function: &dyn Fn() -> String, exception: &dyn Error)
    

    Writes exception with message: exception, the message returned by function, at the level Fatal; the function is called only when the level is enabled (FatalException(Func<string>, Exception)).

    Deprecated. Use fatal_exception_fn(exception, function)

    Source

    Trait implementations

    Availability

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