# Sandbox.Diagnostics.Logger.Warning

## Overload 1

```csharp
void Warning(System.FormattableString message)
```

### Parameters

- `message` (`System.FormattableString`)

## Overload 2

```csharp
void Warning(System.Exception exception, System.FormattableString message)
```

### Parameters

- `exception` (`System.Exception`)
- `message` (`System.FormattableString`)

## Overload 3

```csharp
void Warning(System.Exception exception, object message)
```

Log an exception as a warning, with given message override.

### Parameters

- `exception` (`System.Exception`): The exception to log.
- `message` (`object`): The text to override exceptions' message with in the log.

## Overload 4

```csharp
void Warning(object message)
```

Log a warning. This is the second most severe log level.

### Parameters

- `message` (`object`): The warning to log.

Declared in [Sandbox.Diagnostics.Logger](/api/Sandbox.Diagnostics.Logger).
Assembly: `Sandbox.System`.
