Class WriterAbstract
Abstract
Namespace: Pry\Log\Writer
Package: Log\Writer
Author: Olivier ROGER <oroger.fr>
Version: 1.1.1
Located at Log/Writer/WriterAbstract.class.php
Namespace: Pry\Log\Writer
Package: Log\Writer
Author: Olivier ROGER <oroger.fr>
Version: 1.1.1
Located at Log/Writer/WriterAbstract.class.php
public
|
#
write( string $message, integer $level =
Ecriture du message |
public
|
|
public
|
|
protected
string
|
|
abstract protected
|
integer |
EMERGENCY
|
0 |
|
integer |
ALERT
|
1 |
|
integer |
CRITICAL
|
2 |
|
integer |
ERROR
|
3 |
|
integer |
WARN
|
4 |
|
integer |
NOTICE
|
5 |
|
integer |
INFO
|
6 |
|
integer |
DEBUG
|
7 |
|
integer |
MODE_MINI
|
0 |
|
integer |
MODE_FULL
|
1 |
|
integer |
DAILY
|
1 |
|
integer |
MONTHLY
|
2 |
protected
integer
|
$duree |
|
#
Durée des fichiers logs |
protected
array
|
$txtSeverity | array('emergency', 'alert', 'critical', 'error', 'warn', 'notice', 'info', 'debug') |
#
Correspondance textuel des niveaux de sévérité |
protected
integer
|
$mode |
|
#
Type des messages mini = juste le message , full = message + date + level |