How to disable E_NOTICE error in tracy bar?

Raoul
Member | 7
+
0
-

I just want to disable the errors in tracy bar when they are of type E_NOTICE, how can I do that?

David Grudl
Nette Core | 7463
+
+3
-

set error_reporting(E_ALL & ~E_NOTICE) after Tracy\Debugger::enable()

Raoul
Member | 7
+
0
-

Well, that results in E_NOTICE shown in tracy bar and E_WARNINGS to be hidden.
When I use error_reporting(E_ALL ^ ~E_WARNING) notices are gone, and warnings are still shown. Works for me.