Disable logging for a specific Block

Hi,

is it possible to disable logging for a specific Block?

There is so much output in the debugging window, for example when I use GetDOM. It would be really nice if there is a way to block that .

Kind regards

I found it on my own:

data.Logger.Enabled = false;
// your block
data.Logger.Enabled = true;
2 Likes