---
title: LogError
summary: Logging-related errors.
url: https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/log/enum.LogError/
---

**Kind:** Enum  
**Module:** [log](https://www.fastly.com/documentation/reference/compute/sdks/rust/fastly/log/)  
**Package:** fastly 0.13.1  
**Source:** https://docs.rs/crate/fastly/0.13.1/source/src/log.rs#54

```rust
pub enum LogError {
    InvalidEndpoint,
    MalformedEndpointName,
    NameTooLarge,
}
```

Logging-related errors.

## Variants

### InvalidEndpoint

The endpoint could not be found, or is a reserved name.

### MalformedEndpointName

The endpoint name is malformed.

### NameTooLarge

The endpoint name is too large.

## Trait implementations

### impl Clone for LogError

#### clone

**Source:** https://docs.rs/crate/fastly/0.13.1/source/src/log.rs#53

```rust
fn clone(&self) -> Self
```

**Parameters**

- `self`: `&Self`

**Returns**

`Self`

### impl Debug for LogError

#### fmt

**Source:** https://docs.rs/crate/fastly/0.13.1/source/src/log.rs#53

```rust
fn fmt(&self, f: &mut Formatter<'_>) -> Result
```

**Parameters**

- `self`: `&Self`
- `f`: `&mut $crate::fmt::Formatter`

**Returns**

`$crate::fmt::Result`

### impl Display for LogError

#### fmt

**Source:** https://docs.rs/crate/fastly/0.13.1/source/src/log.rs#53

```rust
fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result
```

**Parameters**

- `self`: `&Self`
- `__formatter`: `&mut ::core::fmt::Formatter`

**Returns**

`::core::fmt::Result`

### impl PartialEq for LogError

#### eq

**Source:** https://docs.rs/crate/fastly/0.13.1/source/src/log.rs#53

```rust
fn eq(&self, other: &Self) -> bool
```

**Parameters**

- `self`: `&Self`
- `other`: `&Self`

**Returns**

`bool`

## Auto trait implementations

- `Freeze`
- `RefUnwindSafe`
- `Send`
- `Sync`
- `Unpin`
- `UnsafeUnpin`
- `UnwindSafe`

## Blanket implementations

- `Any`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Downcast`
- `DowncastSync`
- `Equivalent<K>`
- `ErasedDestructor`
- `From<T>`
- `Into<U>`
- `IntoEither`
- `Same`
- `ToOwned`
- `ToString`
- `TryFrom<U>`
- `TryInto<U>`
