Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

error_logger Class Reference

Logs errors. More...

Inherited by final_automat, template_handler, xml_event_parser, xml_event_parser_user, and xml_structure_builder.

Inheritance diagram for error_logger:

Inheritance graph
List of all members.

Public Methods

function err (what, func='', line=0, file='', terminate=1)
 Log error.


Detailed Description

Logs errors.

This class is an attempt to create class that will be used to log errors during execution of functions - members of derrived classes.

Todo:
Add logging to file.

Definition at line 11 of file error_logger.php.


Member Function Documentation

function err what   ,
func    = '',
line    = 0,
file    = '',
terminate    = 1
 

Log error.

Parameters:
what  - error reason
func  - function name in which an error had uccured
line  - source line
file  - name of source file
terminate  - 1 to terminate script processing
Returns:
zero

Definition at line 23 of file error_logger.php.

Referenced by user_auth::authentificate(), cache_container::clear(), model_querry::get(), cache_container::get(), models::get_info(), models::get_relations(), xml_event_parser_user::import(), model_explore::import(), enviroment::location(), xml_structure_builder::parse(), xml_event_parser::parse(), xml_structure_builder::parse_file(), xml_event_parser::parse_file(), models::pre_cache(), template_handler::process_file(), enviroment::process_locations(), model_explore::process_template(), enviroment::process_template(), and models::read_cache().


The documentation for this class was generated from the following file:
Generated on Tue Mar 11 08:35:18 2003 for SES by doxygen1.2.16