dolibarr  7.0.0-beta
Public Member Functions | List of all members
LogHandlerInterface Interface Reference

LogHandlerInterface. More...

+ Inheritance diagram for LogHandlerInterface:

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

LogHandlerInterface::checkConfiguration ( )

Return if configuration is valid.

Returns
boolean True if configuration ok

Implemented in mod_syslog_firephp, mod_syslog_chromephp, mod_syslog_file, and mod_syslog_syslog.

LogHandlerInterface::configure ( )

Return array of configuration data.

Returns
array Return array of configuration data

Implemented in mod_syslog_firephp, mod_syslog_chromephp, mod_syslog_syslog, and mod_syslog_file.

LogHandlerInterface::export (   $content)

Output log content.

Parameters
string$contentContent to log
Returns
void

Implemented in mod_syslog_chromephp, mod_syslog_firephp, and mod_syslog_syslog.

LogHandlerInterface::getInfo ( )

Return information on logger.

Returns
string Version of logger

Implemented in mod_syslog_firephp, mod_syslog_file, mod_syslog_chromephp, and mod_syslog_syslog.

LogHandlerInterface::getName ( )

Return name of logger.

Returns
string Name of logger

Implemented in mod_syslog_firephp, mod_syslog_file, mod_syslog_chromephp, and mod_syslog_syslog.

LogHandlerInterface::getVersion ( )

Return version of logger.

Returns
string Version of logger

Implemented in mod_syslog_firephp, mod_syslog_file, mod_syslog_chromephp, and mod_syslog_syslog.

LogHandlerInterface::getWarning ( )

Return warning if something is wrong with logger.

Returns
string Warning message

Implemented in mod_syslog_chromephp.

LogHandlerInterface::isActive ( )

Return if logger active.

Returns
boolean True if active

Implemented in mod_syslog_firephp, mod_syslog_chromephp, mod_syslog_file, and mod_syslog_syslog.


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