dolibarr  19.0.0-dev
Public Member Functions | List of all members
LogHandlerInterface Interface Reference

LogHandlerInterface. More...

Inheritance diagram for LogHandlerInterface:
Inheritance graph
[legend]

Public Member Functions

 getName ()
 Return name of logger. More...
 
 getVersion ()
 Return version of logger. More...
 
 getInfo ()
 Return information on logger. More...
 
 getWarning ()
 Return warning if something is wrong with logger. More...
 
 configure ()
 Return array of configuration data. More...
 
 checkConfiguration ()
 Return if configuration is valid. More...
 
 isActive ()
 Return if logger active. More...
 
 export ($content)
 Output log content. More...
 

Detailed Description

LogHandlerInterface.

Definition at line 27 of file logHandlerInterface.php.

Member Function Documentation

◆ checkConfiguration()

LogHandlerInterface::checkConfiguration ( )

Return if configuration is valid.

Returns
boolean True if configuration ok

Implemented in mod_syslog_syslog, and mod_syslog_file.

◆ configure()

LogHandlerInterface::configure ( )

Return array of configuration data.

Returns
array Return array of configuration data

Implemented in mod_syslog_syslog, and mod_syslog_file.

◆ export()

LogHandlerInterface::export (   $content)

Output log content.

Parameters
string$contentContent to log
Returns
void

Implemented in mod_syslog_syslog.

◆ getInfo()

LogHandlerInterface::getInfo ( )

Return information on logger.

Returns
string Version of logger

Implemented in mod_syslog_syslog, and mod_syslog_file.

◆ getName()

LogHandlerInterface::getName ( )

Return name of logger.

Returns
string Name of logger

Implemented in mod_syslog_syslog, and mod_syslog_file.

◆ getVersion()

LogHandlerInterface::getVersion ( )

Return version of logger.

Returns
string Version of logger

Implemented in mod_syslog_syslog, and mod_syslog_file.

◆ getWarning()

LogHandlerInterface::getWarning ( )

Return warning if something is wrong with logger.

Returns
string Warning message

◆ isActive()

LogHandlerInterface::isActive ( )

Return if logger active.

Returns
boolean True if active

Implemented in mod_syslog_syslog, and mod_syslog_file.


The documentation for this interface was generated from the following file: