Revision 1349,
360 bytes
checked in by niltonneto, 15 years ago
(diff) |
Ticket #561 - Inclusão do módulo Workflow faltante nessa versão.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | --TEST-- |
---|
2 | Log: Line Format |
---|
3 | --FILE-- |
---|
4 | <?php |
---|
5 | |
---|
6 | require_once 'Log.php'; |
---|
7 | |
---|
8 | $conf = array('lineFormat' => '%{timestamp} %{ident} %{priority} %{message} %{file} %{line} %{function} %{class}'); |
---|
9 | $logger = &Log::singleton('console', '', 'ident', $conf); |
---|
10 | $logger->log('Message'); |
---|
11 | |
---|
12 | --EXPECTREGEX-- |
---|
13 | ^\w{3} \d+ \d{2}:\d{2}:\d{2} ident info Message .*format\.php \d+ [\(\)\w]+$ |
---|
Note: See
TracBrowser
for help on using the repository browser.