# LogLevel

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-headless-vnc/remote_viewing/logging/enum-loglevel/

**enum** · [`ferroui-headless-vnc`](/docs/0.5.0/api/ferroui-headless-vnc/) · v0.5.0

```rust
enum LogLevel
```

Defines logging severity levels.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless.Vnc/remote_viewing/logging.rs#L18)

## Members

- [`Trace`](#variant-trace)
- [`Debug`](#variant-debug)
- [`Information`](#variant-information)
- [`Warning`](#variant-warning)
- [`Error`](#variant-error)
- [`Critical`](#variant-critical)
- [`None`](#variant-none)

<a id="variant-trace"></a>

### Trace

```rust
Trace = 0
```

Logs that contain the most detailed messages. These messages may
contain sensitive application data. These messages are disabled by
default and should never be enabled in a production environment.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless.Vnc/remote_viewing/logging.rs#L22)

<a id="variant-debug"></a>

### Debug

```rust
Debug = 1
```

Logs that are used for interactive investigation during development.
These logs should primarily contain information useful for debugging
and have no long-term value.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless.Vnc/remote_viewing/logging.rs#L26)

<a id="variant-information"></a>

### Information

```rust
Information = 2
```

Logs that track the general flow of the application. These logs
should have long-term value.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless.Vnc/remote_viewing/logging.rs#L29)

<a id="variant-warning"></a>

### Warning

```rust
Warning = 3
```

Logs that highlight an abnormal or unexpected event in the
application flow, but do not otherwise cause the application
execution to stop.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless.Vnc/remote_viewing/logging.rs#L33)

<a id="variant-error"></a>

### Error

```rust
Error = 4
```

Logs that highlight when the current flow of execution is stopped
due to a failure. These should indicate a failure in the current
activity, not an application-wide failure.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless.Vnc/remote_viewing/logging.rs#L37)

<a id="variant-critical"></a>

### Critical

```rust
Critical = 5
```

Logs that describe an unrecoverable application or system crash, or
a catastrophic failure that requires immediate attention.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless.Vnc/remote_viewing/logging.rs#L40)

<a id="variant-none"></a>

### None

```rust
None = 6
```

Not used for writing log messages. Specifies that a logging category
should not write any messages.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless.Vnc/remote_viewing/logging.rs#L43)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ResourceKeyObject`](/docs/0.5.0/api/ferroui-base/controls/trait-resourcekeyobject/)
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Same`
- `Clone`
- `Copy`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`
- `PartialOrd`
- `Ord`
- `ErasedDestructor`
- `IntoEither`

## Availability

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