JLogJoomla! Log Class
This class hooks into the global log configuration settings to allow for user configured logging events to be sent to where the user wishes them to be sent. On high load sites Syslog is probably the best (pure PHP function), then the text file based loggers (CSV, W3c or plain Formattedtext) and finally MySQL offers the most features (e.g. rapid searching) but will incur a performance hit due to INSERT being issued.
Located in /libraries/joomla/log/log.php (line 25)
Method to add an entry to the log.
Add a logger to the JLog instance. Loggers route log entries to the correct files/systems to be logged.
Returns a reference to the a JLog object, only creating it if it doesn't already exist.
Note: This is principally made available for testing and internal purposes.
Method to add an entry to the appropriate loggers.
Method to find the loggers to use based on priority and category values.
ALERT
= 2
(line 46)
Action must be taken immediately.
ALL
= 30719
(line 32)
All log priorities.
CRITICAL
= 4
(line 53)
Critical conditions.
DEBUG
= 128
(line 88)
Debugging message.
EMERGENCY
= 1
(line 39)
The system is unusable.
ERROR
= 8
(line 60)
Error conditions.
INFO
= 64
(line 81)
Informational message.
NOTICE
= 32
(line 74)
Normal, but significant condition.
WARNING
= 16
(line 67)
Warning conditions.
Documentation generated on Tue, 19 Nov 2013 15:07:24 +0100 by phpDocumentor 1.4.3