I 08/31/2012 14:35:54:675 b04d9000 APP| Application initialize failed: #<NoMethodError: undefined method `new' for RhoLog:Module>;Trace: apps/app/xmpp/client.rb:20:in `<class:Client>'
I 08/31/2012 14:35:54:675 b04d9000 HttpServer| Start HTTP server
It was due to RhoLog being changed from a Class to a Module. I was setting a variable to RhoLog.new, and then using it for logging. Now, since it is just a module, I needed to set the variable to RhoLog. Since this is in a Rhodes extension that I publish on GitHub (XMPP4R) I had to put in a test for whether RhoLog is a class or a module.
So, I presume you mean you have to do this:
@@rholog = RhoLog
I tried that...I get no logging whatsoever. Please tell me how to do this:
Make sure that RhoLog is accessible by my object
how to set up RhoLog to write to a log file on an SD card on an android device.