Views: 206
Rating: 0

TPropelLogRoute

Submitted By: root
Licence: PRADO

Send log messages to a PROPEL object

Files
2.31 KB
60 downloads
TPropelLogRoute.php



Info

TPropelLogRoute saves selected log messages into a Propel database.
 The name of the Propel database object used to represent each message
 is specified by PropelObjectName, which defaults
 to 'PradoLog'.

 The schema of the Propel object must be as follows (the table name can be
 changed to the value of PropelObjectName.

Usage:

Code:
<module id="log" class="System.Util.TLogRouter">
      <route class="TPropelLogRoute" Categories="Application" Levels="Info,Notice,Warning,Error,Alert,Fatal" />
      <route class="TPropelLogRoute" Categories="System" Levels="Notice,Warning,Error,Alert,Fatal" />
</module>



Please note: This is currently a beta preview and has known bugs. Please see the PRADO forums if you have suggestions or problems using it.