# Log Method

## Overloads

| [Log(String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IRpcConnection.Log.htm#Qlik_Sense_JsonRpc_IRpcConnection_Log_System_String_System_String_) |  | Post message to the DebugConsole. If no debug console is active, then the method has no effect. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IRpcConnection.Log.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IRpcConnection.Log.htm)

## Log(String, String)

Post message to the DebugConsole. If no debug console is active, then the method has no effect.

### Declaration

```

          void Log(string source, string message)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | source | Source identifier. |
| System.String | message | Message to post. |