If you make a separate class but still in the same namespace as the main wowza application how do you get the getLogger() function to work?
For instance I have an Emailer class with a static function SendEmail(x,y,z)
Inside the execution I’d like to be able to send a line to the Wowza log if the email can’t be sent or any other exception. But all I’ve been able to do it use System.out.println().
I figured that this was available via com.wowza.wms.module.*; but no-go. I’ve tried importing all of the com.wowza.wms items and even calling it directly via com.wowza.wms.module.ModuleBase.getLogger() and get:
“The method getLogger() from the type ModuleBase is not visible”
There’s something obvious I’m missing, right?
Thanks.