TYPO3 CMS  TYPO3_6-2
LoggerInterface.php
Go to the documentation of this file.
1 <?php
2 namespace TYPO3\Flow\Log;
3 
4 /* *
5  * This script belongs to the TYPO3 Flow framework. *
6  * *
7  * It is free software; you can redistribute it and/or modify it under *
8  * the terms of the GNU Lesser General Public License, either version 3 *
9  * of the License, or (at your option) any later version. *
10  * *
11  * The TYPO3 project - inspiring people to share! *
12  * */
13 
29 interface LoggerInterface {
30 
38  public function addBackend(\TYPO3\Flow\Log\Backend\BackendInterface $backend);
39 
49  public function removeBackend(\TYPO3\Flow\Log\Backend\BackendInterface $backend);
50 
63  public function log($message, $severity = LOG_INFO, $additionalData = NULL, $packageKey = NULL, $className = NULL, $methodName = NULL);
64 
73  public function logException(\Exception $exception, array $additionalData = array());
74 
75 }
addBackend(\TYPO3\Flow\Log\Backend\BackendInterface $backend)
logException(\Exception $exception, array $additionalData=array())
log($message, $severity=LOG_INFO, $additionalData=NULL, $packageKey=NULL, $className=NULL, $methodName=NULL)
removeBackend(\TYPO3\Flow\Log\Backend\BackendInterface $backend)