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.
Members
debug_valuedebug_exceptiondebugdebug_with_typedebug_formatdebug_format_with_typedebug_fndebug_fn_with_typedebug_exception_fndebug_exception_messagedebug_exception_message_fninfo_valueinfo_exceptioninfoinfo_with_typeinfo_formatinfo_format_with_typeinfo_fninfo_fn_with_typeinfo_exception_fninfo_exception_messageinfo_exception_message_fnwarn_valuewarn_exceptionwarnwarn_with_typewarn_formatwarn_format_with_typewarn_fnwarn_fn_with_typewarn_exception_fnwarn_exception_messagewarn_exception_message_fnerror_valueerror_exceptionerrorerror_with_typeerror_formaterror_format_with_typeerror_fnerror_fn_with_typeerror_exception_fnerror_exception_messageerror_exception_message_fnfatal_valuefatal_exceptionfatalfatal_with_typefatal_formatfatal_format_with_typefatal_fnfatal_fn_with_typefatal_exception_fnfatal_exception_messagefatal_exception_message_fn
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)).
debug_exception
fn debug_exception(self: &Self, exception: &dyn Error, message: &str)
Writes exception with message at the level Debug (Debug(Exception, string?)).
debug
fn debug(self: &Self, message: &str)
Writes message at the level Debug (Debug(string?)).
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?)).
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...)).
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[])).
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>)).
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>)).
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>)).
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)
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)
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)).
info_exception
fn info_exception(self: &Self, exception: &dyn Error, message: &str)
Writes exception with message at the level Info (Info(Exception, string?)).
info
fn info(self: &Self, message: &str)
Writes message at the level Info (Info(string?)).
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?)).
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...)).
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[])).
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>)).
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>)).
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>)).
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)
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)
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)).
warn_exception
fn warn_exception(self: &Self, exception: &dyn Error, message: &str)
Writes exception with message at the level Warn (Warn(Exception, string?)).
warn
fn warn(self: &Self, message: &str)
Writes message at the level Warn (Warn(string?)).
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?)).
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...)).
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[])).
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>)).
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>)).
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>)).
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)
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)
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)).
error_exception
fn error_exception(self: &Self, exception: &dyn Error, message: &str)
Writes exception with message at the level Error (Error(Exception, string?)).
error
fn error(self: &Self, message: &str)
Writes message at the level Error (Error(string?)).
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?)).
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...)).
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[])).
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>)).
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>)).
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>)).
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)
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)
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)).
fatal_exception
fn fatal_exception(self: &Self, exception: &dyn Error, message: &str)
Writes exception with message at the level Fatal (Fatal(Exception, string?)).
fatal
fn fatal(self: &Self, message: &str)
Writes message at the level Fatal (Fatal(string?)).
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?)).
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...)).
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[])).
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>)).
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>)).
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>)).
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)
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)
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.