core\util\class-log-util.php
- Author
- Eoxia
- Copyright
- 2015-2018 Eoxia
- Package
- EO_Framework\Core\Util
- Since
- 1.0.0
- Version
- 1.0.0
Constants
\eoxia\LOG_Util
- Parent(s)
- \eoxia\Singleton_Util
- Inherited_from
- \eoxia\Singleton_Util
Properties
Methods

__construct() : voidAppelle le constructeur parent
Inherited from:- Since
- 0.1.0
- Version
- 1.0.0

construct() : voidLe constructeur pour les enfants
Inherited from:- Since
- 0.1.0
- Version
- 1.0.0

g() : \eoxia\Singleton_UtilRécupères l'instance courante
Inherited from:| Type | Description |
|---|---|
| \eoxia\Singleton_Util | L'instance courante |
- Since
- 0.1.0
- Version
- 1.0.0

log(string $text, string $file_name, string $level = EO_NOTICE) : voidMéthode pour loggué.
| Name | Type | Description |
|---|---|---|
| $text | string | Votre texte de log. |
| $file_name | string | Le nom de votre fichier sans l'extension. |
| $level | string | Le niveau d'erreur. Par défaut EO_NOTICE. { EO_NOTICE = Pour une informations EO_RESPONSE_ERROR = Si la réponse de la requête est une erreur. EO_RESPONSE_SUCCESS = Si la réponse de la requête est correcte. }. |
- Since
- 1.3.0
- Version
- 1.3.0

log_wp_content(string $text, string $file_name, string $level = EO_NOTICE, array $bt = array()) : voidMéthode pour loggué dans un fichier dans le dossier 'wp-content/uploads' de WordPress.
| Name | Type | Description |
|---|---|---|
| $text | string | Votre texte de log. |
| $file_name | string | Le nom de votre fichier sans l'extension. |
| $level | string | Le niveau d'erreur. Par défaut EO_NOTICE. { EO_NOTICE = Pour une informations EO_RESPONSE_ERROR = Si la réponse de la requête est une erreur. EO_RESPONSE_SUCCESS = Si la réponse de la requête est correcte. }. |
| $bt | array | Le contexte de débogage. |
- Since
- 1.3.0
- Version
- 1.3.0