# LogException(Exception)

> A variant of ILogger.Log that logs an exception message.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
void LogException(Exception exception)
```

### Parameters

**** (\[Exception]\(https\://learn.microsoft.com/dotnet/api/system.exception)):&#x20;

### Remarks

Additional Resources: [Logger.LogException](/engine/6000.0/script-reference/unityengine/logger/logexception.md).
