dolibarr 19.0.3
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 <https://www.gnu.org/licenses/>.
15 * or see https://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}
LogHandlerInterface.
getWarning()
Return warning if something is wrong with logger.
checkConfiguration()
Return if configuration is valid.
getName()
Return name of logger.
getVersion()
Return version of logger.
export($content)
Output log content.
configure()
Return array of configuration data.
isActive()
Return if logger active.
getInfo()
Return information on logger.