Class Tlog
Thelia Logger
Allow to define different level and output.
- Thelia\Log\Tlog implements Psr\Log\LoggerInterface
Namespace: Thelia\Log
Author: Franck Allimant <franck@cqfdev.fr>
Author: Manuel Raynaud <mraynaud@openstudio.fr>
Located at core/lib/Thelia/Log/Tlog.php
Author: Franck Allimant <franck@cqfdev.fr>
Author: Manuel Raynaud <mraynaud@openstudio.fr>
Located at core/lib/Thelia/Log/Tlog.php
public static
|
|
protected
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
null
|
|
public
|
|
public
null
|
|
public
|
|
public
null
|
|
public
|
|
public
null
|
|
public
|
|
public
null
|
|
public
|
|
public
|
|
public
null
|
|
public
|
|
public
|
|
public
null
|
|
public
|
|
public
null
|
|
public
|
|
public
null
|
|
public static
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
protected
|
|
protected
|
string |
VAR_LEVEL
|
"tlog_level" |
|
string |
VAR_DESTINATIONS
|
"tlog_destinations" |
|
string |
VAR_PREFIXE
|
"tlog_prefix" |
|
string |
VAR_FILES
|
"tlog_files" |
|
string |
VAR_IP
|
"tlog_ip" |
|
string |
VAR_SHOW_REDIRECT
|
"tlog_show_redirect" |
|
integer |
DEBUG
|
100 |
|
integer |
INFO
|
200 |
|
integer |
NOTICE
|
300 |
|
integer |
WARNING
|
400 |
|
integer |
ERROR
|
500 |
|
integer |
CRITICAL
|
600 |
|
integer |
ALERT
|
700 |
|
integer |
EMERGENCY
|
800 |
|
integer |
MUET
|
PHP_INT_MAX |
|
string |
DEFAULT_LEVEL
|
|
|
string |
DEFAUT_DESTINATIONS
|
"Thelia\Log\Destination\TlogDestinationFile" |
|
string |
DEFAUT_PREFIXE
|
"#NUM: #NIVEAU [#FICHIER:#FONCTION()] {#LIGNE} #DATE #HEURE: " |
|
string |
DEFAUT_FILES
|
"*" |
|
string |
DEFAUT_IP
|
"" |
|
integer |
DEFAUT_SHOW_REDIRECT
|
0 |
protected
array
|
$levels | array(
100 => "DEBUG",
200 => "INFO",
300 => "NOTICE",
400 => "WARNING",
500 => "ERROR",
600 => "CRITICAL",
700 => "ALERT",
800 => "EMERGENCY"
) |
|
protected
array
|
$destinations | array() |
#
containing class of destination handler |
protected
boolean
|
$mode_back_office | false |
|
protected
integer
|
$level | |
|
protected
string
|
$prefixe | "" |
|
protected
array
|
$files | array() |
|
protected
boolean
|
$all_files | false |
|
protected
boolean
|
$show_redirect | false |
|
protected static
boolean
|
$done | false |
|
public
array
|
$dir_destinations | array() |