dolibarr  7.0.0-beta
Public Member Functions | List of all members
mod_syslog_firephp Class Reference

Class to manage logging to a FirePHP. More...

+ Inheritance diagram for mod_syslog_firephp:
+ Collaboration diagram for mod_syslog_firephp:

Public Member Functions

 getName ()
 Return name of logger. More...
 
 getVersion ()
 Version of the module ('x.y.z' or 'dolibarr' or 'experimental' or 'development') More...
 
 getInfo ()
 Content of the info tooltip. More...
 
 isActive ()
 Is the module active ? More...
 
 configure ()
 Return array of configuration data. More...
 
 checkConfiguration ()
 Return if configuration is valid. More...
 
 export ($content)
 Output log content. More...
 
- Public Member Functions inherited from LogHandler
 getInfo ()
 Content of the info tooltip. More...
 
 getWarning ()
 Return warning if something is wrong with logger. More...
 
 getVersion ()
 Version of the module ('x.y.z' or 'dolibarr' or 'experimental' or 'development') More...
 
 isActive ()
 Is the module active ? More...
 
 configure ()
 Configuration variables of the module. More...
 
 checkConfiguration ()
 Function that checks if the configuration is valid. More...
 
 setIdent ($ident)
 Set current ident. More...
 
- Public Member Functions inherited from LogHandlerInterface
 getWarning ()
 Return warning if something is wrong with logger. More...
 

Detailed Description

Class to manage logging to a FirePHP.

Definition at line 24 of file mod_syslog_firephp.php.

Member Function Documentation

mod_syslog_firephp::checkConfiguration ( )

Return if configuration is valid.

Returns
array Array of errors. Empty array if ok.

Implements LogHandlerInterface.

Definition at line 117 of file mod_syslog_firephp.php.

Referenced by export().

mod_syslog_firephp::configure ( )

Return array of configuration data.

Returns
array Return array of configuration data

Implements LogHandlerInterface.

Definition at line 97 of file mod_syslog_firephp.php.

mod_syslog_firephp::export (   $content)

Output log content.

Parameters
array$contentContent to log
Returns
null|false

Implements LogHandlerInterface.

Definition at line 137 of file mod_syslog_firephp.php.

References checkConfiguration().

mod_syslog_firephp::getInfo ( )

Content of the info tooltip.

Returns
false|string

Implements LogHandlerInterface.

Definition at line 55 of file mod_syslog_firephp.php.

References isActive().

mod_syslog_firephp::getName ( )

Return name of logger.

Returns
string Name of logger

Implements LogHandlerInterface.

Definition at line 35 of file mod_syslog_firephp.php.

mod_syslog_firephp::getVersion ( )

Version of the module ('x.y.z' or 'dolibarr' or 'experimental' or 'development')

Returns
string

Implements LogHandlerInterface.

Definition at line 45 of file mod_syslog_firephp.php.

mod_syslog_firephp::isActive ( )

Is the module active ?

Returns
int

Implements LogHandlerInterface.

Definition at line 67 of file mod_syslog_firephp.php.

References print.

Referenced by getInfo().


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