mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-02 06:14:52 +00:00
feat: set direct server debug level via console command
The `mobilewsdebug` console command can now be used to set the internal websocket logging level for both the API client and the direct server at the same time.
This commit is contained in:
@@ -326,6 +326,12 @@ namespace PepperDash.Essentials.WebSocketServer
|
||||
}
|
||||
}
|
||||
|
||||
public void SetWebsocketLogLevel(LogLevel level)
|
||||
{
|
||||
CrestronConsole.ConsoleCommandResponse($"Setting direct server debug level to {level}", level.ToString());
|
||||
_server.Log.Level = level;
|
||||
}
|
||||
|
||||
private void AddClientsForTouchpanels()
|
||||
{
|
||||
var touchpanels = DeviceManager.AllDevices
|
||||
|
||||
Reference in New Issue
Block a user