Does anyone know how to properly use the Logger class?  I can't seem to
figure it out.  I'm trying to log a debug message in the
<pp_root>/application/helpers/format.php file, so I call the log method like
this:

Logger::log('some error message', Logger::DEBUG)

The result (with debug mode on) is that I get an error page in my browser
saying the logging session named 'NULL' is invalid.  But according to the
definition of the Logger::log() function, it should pick up the 'default'
session.

Any ideas what I'm doing wrong?

--
===================
Brett Edgar
True Digital Security, Inc./DESA Research, LLC.
[EMAIL PROTECTED]
866.430.2595 x 103
www.truedigitalsecurity.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Projectpier-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/projectpier-development

Reply via email to