Prevent Terminal window output

 

I have a class with some drawing functions in an indicator - How can I stop terminal output when a function is called especially when its numerous times - I don't want to expose underlying class structure in a debug window.  define LOGGER_SET_DEBUG 0  has been set in a dependant include.