FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IStaticFullLogger

    trait · ferroui-splat · v0.5.0

    trait IStaticFullLogger
    

    A logger for static code: each message ends with the name of the member that wrote it, message (Member) (IStaticFullLogger).

    Upstream fills the name of the member in with [CallerMemberName]; Rust has no counterpart, so the caller passes it, and None writes message () as a missing name does upstream.

    View source

    Members

    level

    fn level(self: &Self) -> LogLevel
    

    The level from which the logger writes (Level).

    Source

    debug_exception

    fn debug_exception(self: &Self, exception: &dyn Error, message: &str, caller_member_name: Option<&str>)
    

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

    Source

    debug

    fn debug(self: &Self, message: &str, caller_member_name: Option<&str>)
    

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

    Source

    debug_with_type

    fn debug_with_type(self: &Self, type_name: &'static str, message: &str, caller_member_name: Option<&str>)
    

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

    Source

    debug_format

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

    Writes the message args at the level Debug (Debug<TArgument...>(IFormatProvider, string, TArgument..., string?)).

    Source

    info_exception

    fn info_exception(self: &Self, exception: &dyn Error, message: &str, caller_member_name: Option<&str>)
    

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

    Source

    info

    fn info(self: &Self, message: &str, caller_member_name: Option<&str>)
    

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

    Source

    info_with_type

    fn info_with_type(self: &Self, type_name: &'static str, message: &str, caller_member_name: Option<&str>)
    

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

    Source

    info_format

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

    Writes the message args at the level Info (Info<TArgument...>(IFormatProvider, string, TArgument..., string?)).

    Source

    warn_exception

    fn warn_exception(self: &Self, exception: &dyn Error, message: &str, caller_member_name: Option<&str>)
    

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

    Source

    warn

    fn warn(self: &Self, message: &str, caller_member_name: Option<&str>)
    

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

    Source

    warn_with_type

    fn warn_with_type(self: &Self, type_name: &'static str, message: &str, caller_member_name: Option<&str>)
    

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

    Source

    warn_format

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

    Writes the message args at the level Warn (Warn<TArgument...>(IFormatProvider, string, TArgument..., string?)).

    Source

    error_exception

    fn error_exception(self: &Self, exception: &dyn Error, message: &str, caller_member_name: Option<&str>)
    

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

    Source

    error

    fn error(self: &Self, message: &str, caller_member_name: Option<&str>)
    

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

    Source

    error_with_type

    fn error_with_type(self: &Self, type_name: &'static str, message: &str, caller_member_name: Option<&str>)
    

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

    Source

    error_format

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

    Writes the message args at the level Error (Error<TArgument...>(IFormatProvider, string, TArgument..., string?)).

    Source

    fatal_exception

    fn fatal_exception(self: &Self, exception: &dyn Error, message: &str, caller_member_name: Option<&str>)
    

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

    Source

    fatal

    fn fatal(self: &Self, message: &str, caller_member_name: Option<&str>)
    

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

    Source

    fatal_with_type

    fn fatal_with_type(self: &Self, type_name: &'static str, message: &str, caller_member_name: Option<&str>)
    

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

    Source

    fatal_format

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

    Writes the message args at the level Fatal (Fatal<TArgument...>(IFormatProvider, string, TArgument..., string?)).

    Source

    write

    fn write(self: &Self, message: &str, log_level: LogLevel, caller_member_name: Option<&str>)
    

    Writes message at log_level (Write(string, LogLevel, string?)).

    Source

    write_exception

    fn write_exception(self: &Self, exception: &dyn Error, message: &str, log_level: LogLevel, caller_member_name: Option<&str>)
    

    Writes exception with message at log_level (Write(Exception, string, LogLevel, string?)).

    Source

    write_with_type

    fn write_with_type(self: &Self, message: &str, type_name: &'static str, log_level: LogLevel, caller_member_name: Option<&str>)
    

    Writes message of the type type_name at log_level (Write(string, Type, LogLevel, string?)).

    Source

    write_exception_with_type

    fn write_exception_with_type(self: &Self, exception: &dyn Error, message: &str, type_name: &'static str, log_level: LogLevel, caller_member_name: Option<&str>)
    

    Writes exception with message, of the type type_name, at log_level (Write(Exception, string, Type, LogLevel, string?)).

    Source

    Trait implementations

    Availability

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