# LogLevel

Kind: Enum · Namespace: Sansar.Script · Assembly: Sansar.Script.dll · Script API 47.10.0

<div class="api-meta">
<span class="api-kind api-kind-enum" data-pagefind-filter="kind:Enum">Enum</span>
<span data-pagefind-filter="namespace:Sansar.Script">Namespace <a href="/scripting/api/sansar.script"><code>Sansar.Script</code></a></span>
</div>

<span id="T:Sansar.Script.LogLevel"></span>

Used by [`Log`](/scripting/api/sansar.script/log) to filter messages.

```csharp
[System.Flags]
public enum LogLevel
```

## Values

| Value | Description |
|---|---|
| <span id="debug"></span><span id="F:Sansar.Script.LogLevel.Debug"></span>`Debug` <span class="api-badge api-since">Added in 45.0.4</span> | Debugging messages. |
| <span id="error"></span><span id="F:Sansar.Script.LogLevel.Error"></span>`Error` | Error messages. |
| <span id="info"></span><span id="F:Sansar.Script.LogLevel.Info"></span>`Info` | Basic informational messages. |
| <span id="warning"></span><span id="F:Sansar.Script.LogLevel.Warning"></span>`Warning` | Warning messages. |

## Used in examples

- [FollowThePath.cs](/scripting/examples/follow-the-path)
- [ReflectiveDetectorExample.cs](/scripting/examples/reflective-detector)
- [SimpleScriptExample.cs](/scripting/examples/simple-script)
- [TeleportHotkeys.cs](/scripting/examples/teleport-hotkeys)
- [AgentGravityExample.cs](https://github.com/Wookey-Technologies/sansar-script-starter/blob/66af8b516b701088d043e4615acfcf5779356604/examples/official/AgentGravityExample.cs)
- [AgentScaleExample.cs](https://github.com/Wookey-Technologies/sansar-script-starter/blob/66af8b516b701088d043e4615acfcf5779356604/examples/official/AgentScaleExample.cs)
- [EventExample.cs](https://github.com/Wookey-Technologies/sansar-script-starter/blob/66af8b516b701088d043e4615acfcf5779356604/examples/official/EventExample.cs)
- [LogExample.cs](https://github.com/Wookey-Technologies/sansar-script-starter/blob/66af8b516b701088d043e4615acfcf5779356604/examples/official/LogExample.cs)
- [QuestDebugExample.cs](https://github.com/Wookey-Technologies/sansar-script-starter/blob/66af8b516b701088d043e4615acfcf5779356604/examples/official/QuestDebugExample.cs)
- [ScriptLibrary/LibraryBase.cs](https://github.com/Wookey-Technologies/sansar-script-starter/blob/66af8b516b701088d043e4615acfcf5779356604/examples/official/ScriptLibrary/LibraryBase.cs)
- [ScriptLibrary/LibraryDebugger.cs](https://github.com/Wookey-Technologies/sansar-script-starter/blob/66af8b516b701088d043e4615acfcf5779356604/examples/official/ScriptLibrary/LibraryDebugger.cs)
- [ScriptLibrary/Quest/QuestCharacter.cs](https://github.com/Wookey-Technologies/sansar-script-starter/blob/66af8b516b701088d043e4615acfcf5779356604/examples/official/ScriptLibrary/Quest/QuestCharacter.cs)

…and 36 more examples in the snapshot.

<p class="api-generated" data-pagefind-ignore>Generated from the Sansar 47.10.0 client ScriptApi snapshot.</p>