# LogEntry

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-inspect/struct-logentry/

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

```rust
struct LogEntry
```

A captured log event. The template keeps its placeholders; the values are kept apart.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Inspect/logs.rs#L22)

## Members

- [`sequence`](#struct_field-sequence)
- [`level`](#struct_field-level)
- [`area`](#struct_field-area)
- [`template`](#struct_field-template)
- [`values`](#struct_field-values)
- [`timestamp`](#struct_field-timestamp)
- [`message`](#function-message)
- [`to_json`](#function-to_json)

<a id="struct_field-sequence"></a>

### sequence

```rust
sequence: u64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Inspect/logs.rs#L23)

<a id="struct_field-level"></a>

### level

```rust
level: ferroui_base::logging::LogEventLevel
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Inspect/logs.rs#L24)

<a id="struct_field-area"></a>

### area

```rust
area: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Inspect/logs.rs#L25)

<a id="struct_field-template"></a>

### template

```rust
template: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Inspect/logs.rs#L26)

<a id="struct_field-values"></a>

### values

```rust
values: Vec<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Inspect/logs.rs#L27)

<a id="struct_field-timestamp"></a>

### timestamp

```rust
timestamp: f64
```

Milliseconds since the Unix epoch.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Inspect/logs.rs#L29)

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

### message

```rust
fn message(self: &Self) -> String
```

The template with its placeholders replaced by the values, in order.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Inspect/logs.rs#L33)

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

### to_json

```rust
fn to_json(self: &Self) -> Value
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Inspect/logs.rs#L36)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`

## Availability

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