PHP Class Prado\Util\TLogRoute
TLogRoute is the base class for all log route classes.
A log route object retrieves log messages from a logger and sends it
somewhere, such as files, emails.
The messages being retrieved may be filtered first before being sent
to the destination. The filters include log level filter and log category filter.
To specify level filter, set {@link setLevels Levels} property,
which takes a string of comma-separated desired level names (e.g. 'Error, Debug').
To specify category filter, set {@link setCategories Categories} property,
which takes a string of comma-separated desired category names (e.g. 'System.Web, System.IO').
Level filter and category filter are combinational, i.e., only messages
satisfying both filter conditions will they be returned.
Afficher le fichier
Open project: pradosoft/prado
Class Usage Examples
Protected Properties
Méthodes publiques
Méthodes protégées
Method Details
collectLogs()
public méthode
Retrieves log messages from logger to log route specific destination.
getCategories()
public méthode
getLevelName()
protected méthode
getLevelValue()
protected méthode
getLevels()
public méthode
processLogs()
abstract protected méthode
Derived child classes must implement this method.
setCategories()
public méthode
setLevels()
public méthode
Property Details
$_levelNames protected_oe static_oe property
lookup table for level names
protected static $_levelNames |
$_levelValues protected_oe static_oe property
lookup table for level values
protected static $_levelValues |