# DebugConsole Constructor

## Overloads

| [DebugConsole()](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.DebugConsole.-ctor.htm#Qlik_Engine_Communication_DebugConsole__ctor) |  | Default constructor using System.Console.Out for output. |
| --- | --- | --- |
| [DebugConsole(TextWriter)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.DebugConsole.-ctor.htm#Qlik_Engine_Communication_DebugConsole__ctor_System_IO_TextWriter_) |  | Constructor accepting System.IO.TextWriter for output. |
| [DebugConsole(TextWriter\[\])](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.DebugConsole.-ctor.htm#Qlik_Engine_Communication_DebugConsole__ctor_System_IO_TextWriter___) |  | Constructor accepting multiple System.IO.TextWriter objects for output. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.DebugConsole.-ctor.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.DebugConsole.-ctor.htm)

## DebugConsole()

Default constructor using System.Console.Out for output.

### Declaration

```

          public DebugConsole()
    
  
```

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.DebugConsole.-ctor.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.DebugConsole.-ctor.htm)

## DebugConsole(TextWriter)

Constructor accepting System.IO.TextWriter for output.

### Declaration

```

          public DebugConsole(TextWriter writer)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.IO.TextWriter | writer | Used to redirect log output. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.DebugConsole.-ctor.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.DebugConsole.-ctor.htm)

## DebugConsole(TextWriter[])

Constructor accepting multiple System.IO.TextWriter objects for output.

### Declaration

```
public DebugConsole(TextWriter[] writers)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.IO.TextWriter[] | writers | Used to redirect log output. |