yana

phpDocumentor v 1.4.0

Class Log

Description

Log
This class represents log entries passed to the YANA framework. Note that the difference between instances of this class and classes that derive from the base class "Message" is how instances are treated by the function Yana::report(). While instances of class "Log" are send to the system logs for a later review by an administrator, instances of class "Message" are directly put to the user's browser.
So: Logs are for the administrator - while Messages are for the user.
Usually you will have both: a Message for the user and a Log for the administrator.
E.g. your software detects a halt due to the failure of an important database operation. Then you might issue a Message saying "Service is temporarily not available" to the user, plus a Log saying "SQL statement '${stmt}' failed. The error reads: ${errMessage}." for review by the administrator.
  • access: public
Report
   |
   --Log
Inherited Variables

Inherited from Report

inherited from base classes

Inherited From Report

Documentation generated on Sat, 03 Jan 2009 22:22:32 +0100 by phpDocumentor 1.4.0

yana author: Thomas MeyerHomepage: www.yanaframework.net