dolibarr  7.0.0-beta
logHandlerInterface.php
Go to the documentation of this file.
1 <?php
2 /*
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 3 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  * or see http://www.gnu.org/
16  */
17 
28 {
34  public function getName();
35 
36 
42  public function getVersion();
43 
49  public function getInfo();
50 
56  public function getWarning();
57 
63  public function configure();
64 
70  public function checkConfiguration();
71 
77  public function isActive();
78 
85  public function export($content);
86 }
getName()
Return name of logger.
export($content)
Output log content.
checkConfiguration()
Return if configuration is valid.
LogHandlerInterface.
isActive()
Return if logger active.
configure()
Return array of configuration data.
getInfo()
Return information on logger.
getVersion()
Return version of logger.
getWarning()
Return warning if something is wrong with logger.