LogService (since version 2.0)
Type Service
Methods
Description
The log service is used to hold system messages of occuring events.
All exceptions throwed are logged with the log service to the filesystem.
The service uses the filesystem service to created and attach to log files.
Currently there is no priority level for this message implemented, this will change in coming versions.
Note:
The messages catched by the log service are saved on End call of the BRICKOO class by execution of an call on end.
All exceptions throwed are logged with the log service to the filesystem.
The service uses the filesystem service to created and attach to log files.
Currently there is no priority level for this message implemented, this will change in coming versions.
Note:
The messages catched by the log service are saved on End call of the BRICKOO class by execution of an call on end.
Examples
<?php
// log message
LogService::Add('This message has to be logged, important !!!');
// save logged messages
LogService::SaveLogMessages();
?>
// log message
LogService::Add('This message has to be logged, important !!!');
// save logged messages
LogService::SaveLogMessages();
?>
Last change 10/15/2009