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!.
Members
debug_exception_argsinfo_exception_argswarn_exception_argserror_exception_argsfatal_exception_args
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...)).
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...)).
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...)).
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...)).
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...)).
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.