hi,

the only way to get a log in c2x is by enabling the db log via
$db->debug=true;

regards
gj.

On 04/05/2011 01:26 PM, maros6...@gmail.com wrote:
Hey everyone, I noticed that there doesn't seem to be any equivalent to java's log4j app-level error reporting; or at least I can't find it..I very much would like to write code like this:

        if ($this->result = $db->Execute ( $this->sql )) {
                 //blah do something interesting
        } else {
            //TODO: report error to app log - how?
        }

How is this to be done in c2x?

Thanks!

Maros


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev


_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to