mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-09 10:32:50 +01:00
Created a modular syslog handler system
I've split all log handlers into classes so that people can make new log handler systems without making changes to the core. Also, now every log handler can handle how and what will be logged.
This commit is contained in:
12
htdocs/core/modules/syslog/logHandlerInterface.php
Normal file
12
htdocs/core/modules/syslog/logHandlerInterface.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
interface LogHandlerInterface
|
||||
{
|
||||
public function getName();
|
||||
public function getVersion();
|
||||
public function getInfo();
|
||||
public function configure();
|
||||
public function checkConfiguration();
|
||||
public function isActive();
|
||||
public function export($content);
|
||||
}
|
||||
Reference in New Issue
Block a user