# IAllocationFreeErrorLogger

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-splat/logging/trait-iallocationfreeerrorlogger/

**trait** · [`ferroui-splat`](/docs/0.5.0/api/ferroui-splat/) · v0.5.0

```rust
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!`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Splat/logging/full_logger.rs#L20)

## Members

- [`debug_exception_args`](#function-debug_exception_args)
- [`info_exception_args`](#function-info_exception_args)
- [`warn_exception_args`](#function-warn_exception_args)
- [`error_exception_args`](#function-error_exception_args)
- [`fatal_exception_args`](#function-fatal_exception_args)

<a id="function-debug_exception_args"></a>

### debug_exception_args

```rust
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...)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Splat/logging/full_logger.rs#L23)

<a id="function-info_exception_args"></a>

### info_exception_args

```rust
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...)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Splat/logging/full_logger.rs#L31)

<a id="function-warn_exception_args"></a>

### warn_exception_args

```rust
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...)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Splat/logging/full_logger.rs#L39)

<a id="function-error_exception_args"></a>

### error_exception_args

```rust
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...)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Splat/logging/full_logger.rs#L47)

<a id="function-fatal_exception_args"></a>

### fatal_exception_args

```rust
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...)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Splat/logging/full_logger.rs#L55)

## Trait implementations

- [`IAllocationFreeErrorLogger`](/docs/0.5.0/api/ferroui-splat/logging/trait-iallocationfreeerrorlogger/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
