4 Replies Latest reply on Mar 7, 2013 10:56 AM by Alexey Tikhvinsky

    I cannot find RhoLog in the gem.

      Where is it suppose to be?

      John

        • Re: I cannot find RhoLog in the gem.

          After much searching and no help...I found it at:

          gems\1.9.1\gems\rhodes-3.4.2\lib\framework\rhosystem.rb

           

          It is a module.  Calling it requires using this syntax:

          RhoLog.info(cat, msg); # cat and msg are strings.  Cat I suppose is category.

          or

          RhoLog.error(cat, msg); # cat and msg are strings.  Cat I suppose is category.

           

          The cat and msg string are concatenated together with a : between them.

          The only difference between these two calls is that the word ERROR: is put in front of the error function.

           

          I have yet to find how puts has been redefined to send the logs to a file.  Any help from anyone?