silverorange Code


Swat.SwatExceptionLogger
/Swat/SwatExceptionLogger.php at line 19

Class SwatExceptionLogger

SwatExceptionLogger

public abstract class SwatExceptionLogger

Abstract base class for logging SwatException objects

A custom exception logger can be used to change how uncaught exceptions are logged in an application. For example, you may want to log exceptions in a database or store exception details in a separate file.

Copyright:
2006 silverorange
License:
http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
See Also:
SwatException::setLogger()

Method Summary
abstract void

log(mixed e)

Logs a SwatException.

Method Detail

/Swat/SwatExceptionLogger.php at line 28

log

public abstract void log(mixed e)

Logs a SwatException

This is called by SwatException::process().


silverorange Code