Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
OWScriptLogger | eZ Publish Legacy | stable |
Version | Compatible with |
---|---|
N/A | N/A |
Extension : OW Script Logger v1.0
Requires : eZ Publish 4.x.x (not tested on 3.X)
Author : Open Wide http://www.openwide.fr
OW Script Logger provides a class to log events in different files depending on the script started. The logs are also recorded in database and visible from the back-end.
At the beginning of your script, instantiate the logger :
OWScriptLogger::startLog( $script_identifier );
In the script, log events with these methodes :
OWScriptLogger::logNotice( $message, $action );
OWScriptLogger::logWarning( $message, $action );
OWScriptLogger::logError( $message, $action );
Enjoy !!
This program is free software; you can redistribute it and/or
modify it under the terms of version 2.0 of the GNU General
Public License as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Read /LICENSE