---
description: Changing how the debug logger works
---

# Debug Logger Drivers

<figure><img src="https://979265983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKBgZy6xqjdYb7KIbxI6u%2Fuploads%2Fgit-blob-d1cfaa7f3dbb8063e67dd6722a31a1b407564f38%2F120-inner.png?alt=media" alt=""><figcaption></figcaption></figure>

The debug logger driver is one of the supported driver types on Nitrocid KS. These drivers allow you to change how the debug logger works, thus earning dynamic debug logging.

The console drivers have the following characteristics:

* Interface: `IDebugLoggerDriver`
* Base class: `BaseDebugLoggerDriver`

The debug logger drivers have the following functions that you can optionally override below:

{% code title="IDebugLoggerDriver.cs" lineNumbers="true" %}
```csharp
void Write(string text);
void Write(string text, params object[] vars);
```
{% endcode %}

The `DebugLoggerDriverTools` class contains tools to get all the debug logger drivers and their names and set a debug logger driver as a default. The driver management tools also allow you to do the same thing, though you'll have to specify the driver type.
