# IAllocationFreeLogger

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

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

```rust
trait IAllocationFreeLogger: IAllocationFreeErrorLogger
```

The allocation-free logging of messages (`IAllocationFreeLogger`): whether each level is enabled,
and a message formatted from arguments, formatted only when the level is enabled.

The ten generated overloads per level of upstream (`Debug<TArgument>(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#L67)

## Members

- [`is_debug_enabled`](#function-is_debug_enabled)
- [`is_info_enabled`](#function-is_info_enabled)
- [`is_warn_enabled`](#function-is_warn_enabled)
- [`is_error_enabled`](#function-is_error_enabled)
- [`is_fatal_enabled`](#function-is_fatal_enabled)
- [`debug_args`](#function-debug_args)
- [`info_args`](#function-info_args)
- [`warn_args`](#function-warn_args)
- [`error_args`](#function-error_args)
- [`fatal_args`](#function-fatal_args)

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

### is_debug_enabled

```rust
fn is_debug_enabled(self: &Self) -> bool
```

Whether the level `Debug` is enabled (`IsDebugEnabled`).

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

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

### is_info_enabled

```rust
fn is_info_enabled(self: &Self) -> bool
```

Whether the level `Info` is enabled (`IsInfoEnabled`).

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

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

### is_warn_enabled

```rust
fn is_warn_enabled(self: &Self) -> bool
```

Whether the level `Warn` is enabled (`IsWarnEnabled`).

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

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

### is_error_enabled

```rust
fn is_error_enabled(self: &Self) -> bool
```

Whether the level `Error` is enabled (`IsErrorEnabled`).

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

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

### is_fatal_enabled

```rust
fn is_fatal_enabled(self: &Self) -> bool
```

Whether the level `Fatal` is enabled (`IsFatalEnabled`).

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

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

### debug_args

```rust
fn debug_args(self: &Self, args: fmt::Arguments<'_>)
```

Writes the message `args` at the level `Debug`, when the level is enabled
(`Debug<TArgument...>(string, TArgument...)`).

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

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

### info_args

```rust
fn info_args(self: &Self, args: fmt::Arguments<'_>)
```

Writes the message `args` at the level `Info`, when the level is enabled
(`Info<TArgument...>(string, TArgument...)`).

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

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

### warn_args

```rust
fn warn_args(self: &Self, args: fmt::Arguments<'_>)
```

Writes the message `args` at the level `Warn`, when the level is enabled
(`Warn<TArgument...>(string, TArgument...)`).

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

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

### error_args

```rust
fn error_args(self: &Self, args: fmt::Arguments<'_>)
```

Writes the message `args` at the level `Error`, when the level is enabled
(`Error<TArgument...>(string, TArgument...)`).

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

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

### fatal_args

```rust
fn fatal_args(self: &Self, args: fmt::Arguments<'_>)
```

Writes the message `args` at the level `Fatal`, when the level is enabled
(`Fatal<TArgument...>(string, TArgument...)`).

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

## Trait implementations

- [`IAllocationFreeLogger`](/docs/0.5.0/api/ferroui-splat/logging/trait-iallocationfreelogger/)

## Availability

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