# unitlog(quaternion)

> Returns the natural logarithm of a unit length quaternion.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Mathematics](/engine/6000.6/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

```csharp
public static quaternion unitlog(quaternion q)
```

### Parameters

**** (\[quaternion]\(/engine/6000.6/script-reference/unity/mathematics/quaternion)): The unit length quaternion.

### Returns

| Type                                                                          | Description                                          |
| ----------------------------------------------------------------------------- | ---------------------------------------------------- |
| [quaternion](/engine/6000.6/script-reference/unity/mathematics/quaternion.md) | The natural logarithm of the unit length quaternion. |
