MkFramework
 All Data Structures Functions
Public Member Functions
plugin_log Class Reference

Public Member Functions

 __construct ()
 
 setApplication ($bActif)
 
 setInformation ($bActif)
 
 setWarning ($bActif)
 
 setError ($bActif)
 
 log ($sMessage)
 
 error ($sMessage)
 
 warning ($sMessage)
 
 info ($sMessage)
 

Detailed Description

plugin_log classe pour loguer

Author
Mika http://mkf.mkdevs.com/

Definition at line 23 of file plugin_log.php.

Constructor & Destructor Documentation

__construct ( )

constructeur public

Definition at line 34 of file plugin_log.php.

Here is the call graph for this function:

Member Function Documentation

error (   $sMessage)

vous permet dans votre application de loguer en tant qu'erreur public

Parameters
string$sMessagemessage a loguer

Definition at line 89 of file plugin_log.php.

info (   $sMessage)

utiliser principalement par le framework pour indiquer tout ce qui se passe (a desactiver en production) public

Parameters
string$sMessagemessage a loguer

Definition at line 109 of file plugin_log.php.

log (   $sMessage)

vous permet dans votre application de loguer public

Parameters
string$sMessagemessage a loguer

Definition at line 79 of file plugin_log.php.

setApplication (   $bActif)

active/desactive le log applicatif public

Parameters
bool$bActivetrue/false selon

Definition at line 46 of file plugin_log.php.

Here is the caller graph for this function:

setError (   $bActif)

active/desactive le log erreur public

Parameters
bool$bActivetrue/false selon

Definition at line 70 of file plugin_log.php.

Here is the caller graph for this function:

setInformation (   $bActif)

active/desactive le log informatif (framework) public

Parameters
bool$bActivetrue/false selon

Definition at line 54 of file plugin_log.php.

Here is the caller graph for this function:

setWarning (   $bActif)

active/desactive le log warning public

Parameters
bool$bActivetrue/false selon

Definition at line 62 of file plugin_log.php.

Here is the caller graph for this function:

warning (   $sMessage)

vous permet dans votre application de loguer en tant que warning public

Parameters
string$sMessagemessage a loguer

Definition at line 99 of file plugin_log.php.


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