Class cModuleLog
This class contains the main functionalities for the module logging in CONTENIDO. The funcationality is almost the same like normal logging with the exception, that log entries contains an additional information about the used module.
Example: $writer = cLogWriter::factory("File", array('destination' => 'contenido.log'));
$log = new cModuleLog($writer); $log->setModule(1); $log->log("Anything you want to log.");
- cLog
- cModuleLog
Package: Core\Log
Deprecated: [2015-05-21] This class is no longer supported
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Dominik Ziegler
Located at classes/log/class.modulelog.php
Deprecated: [2015-05-21] This class is no longer supported
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Dominik Ziegler
Located at classes/log/class.modulelog.php
public
|
|
public
|
|
public
string
|
__call(),
addPriority(),
buffer(),
commit(),
getWriter(),
log(),
removePriority(),
revoke(),
setShortcutHandler(),
setWriter(),
shDate(),
shLevel(),
shMessage(),
unsetShortcutHandler()
|
ALERT,
CRIT,
DEBUG,
EMERG,
ERR,
INFO,
NOTICE,
WARN
|
private
|
$_module |
|
#
instance of module model |
$_buffer,
$_defaultPriorities,
$_priorities,
$_shortcutHandlers,
$_writer
|