SwatErrorLogger
└─SiteErrorLogger
public class SiteErrorLogger
extends SwatErrorLogger
| Field Summary | |
|---|---|
| protected string | Base URI to use to construct a link to the log file. |
| protected string | Location in which to store detailed error logs. |
| Constructor Summary | |
|---|---|
SiteErrorLogger(string log_location, mixed base_uri) Creates a new error loggger. |
|
| Method Summary | |
|---|---|
| void | log(mixed e) Logs an error. |
| protected void | logSummary(mixed summary) |
| Methods inherited from Swat.SwatErrorLogger | |
|---|---|
| log | |
protected string $base_uri
Base URI to use to construct a link to the log file
If null, the log file name is used instead.
protected string $log_location
Location in which to store detailed error logs
This path should include a trailing slash.
public SiteErrorLogger(string log_location, mixed base_uri)
Creates a new error loggger
log_location - the location in which to store detailed error log files.public void log(mixed e)
Logs an error
protected void logSummary(mixed summary)
An error logger that creates HTML files containing error details and puts a link in the system error log to the details file