wCMF
3.6
|
Public Member Functions | |
debug ($message, $category) | |
info ($message, $category) | |
warn ($message, $category) | |
error ($message, $category) | |
fatal ($message, $category) | |
isDebugEnabled ($category) | |
isInfoEnabled ($category) | |
isWarnEnabled ($category) | |
isErrorEnabled ($category) | |
isFatalEnabled ($category) | |
& | getLogger ($category) |
Log is used to log application events. The implementation is a wrapper over log4php. All methods may be called in a static way.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
Definition at line 32 of file class.Log.php.
Log::debug | ( | $message, | |
$category | |||
) |
Print a debug message for a category
message | The message |
category | The category |
Definition at line 39 of file class.Log.php.
References getLogger().
Referenced by MySQLBackupController\backupMySQL(), NodeXMLDBMapper\closeDatabase(), PersistenceFacadeImpl\commitTransaction(), NodeXMLDBMapper\commitTransaction(), DBUtil\copyDatabase(), CopyController\copyNode(), RPCClient\doRemoteCall(), Controller\execute(), LoggingController\executeKernel(), CreateInstanceController\executeKernel(), DisplayController\executeKernel(), MultipleActionController\executeKernel(), DBUtil\executeScript(), RDBMapper\executeSql(), CopyController\getCopyOID(), SearchUtil\getIndexPath(), RemoteCapablePersistenceFacadeImpl\getProxyObject(), Controller\getViewTemplate(), BatchDisplayController\loadNode(), RemoteCapablePersistenceFacadeImpl\loadRemoteObject(), ResourceListController\onFileMoved(), NodeXMLDBMapper\openDatabase(), ActionMapper\processAction(), RemoteCapablePersistenceFacadeImpl\registerProxyObject(), MultipleActionController\replaceVariables(), MySQLBackupController\restoreMySQL(), PersistenceFacadeImpl\rollbackTransaction(), NodeXMLDBMapper\startReadTransaction(), PersistenceFacadeImpl\startTransaction(), NodeXMLDBMapper\startTransaction(), and URIUtil\validateUrl().
Log::info | ( | $message, | |
$category | |||
) |
Print a info message for a category
message | The message |
category | The category |
Definition at line 49 of file class.Log.php.
References getLogger().
Referenced by CopyController\copyNode(), LoggingController\executeKernel(), DBUtil\executeScript(), BatchDisplayController\loadNode(), CopyController\startProcess(), DefaultOutputStrategy\writeFooter(), DefaultOutputStrategy\writeHeader(), DefaultOutputStrategy\writeObject(), and LogOutputStrategy\writeObject().
Log::warn | ( | $message, | |
$category | |||
) |
Print a warn message for a category
message | The message |
category | The category |
Definition at line 59 of file class.Log.php.
References getLogger().
Referenced by LoggingController\executeKernel(), DeleteController\executeKernel(), Node\filter(), UserRDBBase\getLocktableList(), RoleRDBBase\getNMUserRoleList(), UserRDBBase\getNMUserRoleList(), UserRDBBase\getRoleRDBList(), RoleRDBBase\getUserRDBList(), globalErrorHandler(), ActionMapper\processAction(), DotOutputStrategy\writeHeader(), and XMLOutputStrategy\writeHeader().
Log::error | ( | $message, | |
$category | |||
) |
Print a error message for a category
message | The message |
category | The category |
Definition at line 69 of file class.Log.php.
References getLogger().
Referenced by UserManagerRDB\addUserToRoleImpl(), PersistenceMapper\authorizationFailedError(), UserManagerRDB\createRoleImpl(), UserManagerRDB\createUserImpl(), HTTPClient\doRemoteCall(), LoggingController\executeKernel(), MultipleActionController\executeKernel(), DBUtil\executeScript(), RDBMapper\executeSql(), PersistenceFacadeImpl\getFirstOIDEx(), SearchUtil\getIndexPath(), RDBMapper\getNextId(), PersistenceFacadeImpl\getOIDsEx(), HTTPClient\handleError(), RPCClient\handleError(), ActionMapper\processAction(), UserManagerRDB\removeRoleImpl(), UserManagerRDB\removeUserFromRoleImpl(), UserManagerRDB\removeUserImpl(), RDBMapper\select(), UserManagerRDB\setRolePropertyImpl(), and UserManagerRDB\setUserPropertyImpl().
Log::fatal | ( | $message, | |
$category | |||
) |
Print a fatal message for a category
message | The message |
category | The category |
Definition at line 79 of file class.Log.php.
References getLogger().
Referenced by LoggingController\executeKernel(), and WCMFException\throwEx().
Log::isDebugEnabled | ( | $category | ) |
Check if debug level is enabled for a category
category | The category |
Definition at line 89 of file class.Log.php.
References getLogger().
Referenced by CopyController\copyNode(), RPCClient\doRemoteCall(), Controller\execute(), DisplayController\executeKernel(), MultipleActionController\executeKernel(), RDBMapper\executeSql(), CopyController\getCopyOID(), Controller\getViewTemplate(), BatchDisplayController\loadNode(), RemoteCapablePersistenceFacadeImpl\loadRemoteObject(), ActionMapper\processAction(), MultipleActionController\replaceVariables(), and URIUtil\validateUrl().
Log::isInfoEnabled | ( | $category | ) |
Check if info level is enabled for a category
category | The category |
Definition at line 99 of file class.Log.php.
References getLogger().
Referenced by CopyController\copyNode(), BatchDisplayController\loadNode(), and CopyController\startProcess().
Log::isWarnEnabled | ( | $category | ) |
Check if warn level is enabled for a category
category | The category |
Definition at line 109 of file class.Log.php.
References getLogger().
Log::isErrorEnabled | ( | $category | ) |
Check if error level is enabled for a category
category | The category |
Definition at line 119 of file class.Log.php.
References getLogger().
Log::isFatalEnabled | ( | $category | ) |
Check if fatal level is enabled for a category
category | The category |
Definition at line 129 of file class.Log.php.
References getLogger().
& Log::getLogger | ( | $category | ) |
Get the log4php Logger instance for a specified category
category | The category |
Definition at line 140 of file class.Log.php.
Referenced by debug(), error(), fatal(), info(), isDebugEnabled(), isErrorEnabled(), isFatalEnabled(), isInfoEnabled(), isWarnEnabled(), and warn().