Jordi Boggiano
|
d0fce88274
|
Merge similar tests together
|
2011-04-05 23:36:18 +02:00 |
|
Jordi Boggiano
|
189090d971
|
Simplified RotatingFileHandler a bit
|
2011-04-05 23:21:29 +02:00 |
|
Jordi Boggiano
|
df1679967c
|
Added tests for RotatingFileHandler
|
2011-04-05 23:19:59 +02:00 |
|
Jordi Boggiano
|
3b0f738b88
|
Added docblocks
|
2011-04-05 22:35:39 +02:00 |
|
Jordi Boggiano
|
35bd8f724b
|
Updated TODO
|
2011-04-05 22:24:48 +02:00 |
|
Jordi Boggiano
|
45312dfc84
|
Optimize rotation so it's only done once per day at most
|
2011-04-05 22:24:39 +02:00 |
|
Jordi Boggiano
|
35dd65dea3
|
Fix CS
|
2011-04-05 22:15:22 +02:00 |
|
Christophe Coevoet
|
32d66528b2
|
Implemented the file rotation
|
2011-04-05 20:09:34 +02:00 |
|
Jordi Boggiano
|
e20fd0cc08
|
Minor fixes to merged commit
|
2011-04-05 10:42:22 +02:00 |
|
Jordi Boggiano
|
51928a2f9e
|
Merge remote branch 'stof/fingerscrossed'
|
2011-04-05 10:40:10 +02:00 |
|
Christophe Coevoet
|
e32886e26f
|
Fixed callback factory for the FingersCrossedHandler
|
2011-04-05 10:29:08 +02:00 |
|
Christophe Coevoet
|
b2d356bbf2
|
Added a BufferHandler to allow batch processing of the records
|
2011-04-05 09:41:27 +02:00 |
|
Jordi Boggiano
|
b90eddd513
|
Fix typos
|
2011-04-03 16:43:49 +02:00 |
|
Jordi Boggiano
|
7f2127b7dc
|
Updated README
|
2011-03-27 06:23:03 -07:00 |
|
Jordi Boggiano
|
20110bfced
|
Updated README
|
2011-03-27 06:22:19 -07:00 |
|
Jordi Boggiano
|
d178bdce01
|
Syslog: moving LOG_LOCAL* out into the constructor for windows compat'
|
2011-03-23 23:39:00 +01:00 |
|
Jordi Boggiano
|
78d60f9dce
|
Coding style fixes
|
2011-03-23 23:29:33 +01:00 |
|
Sven Paulus
|
38a4ddf9f2
|
remove LOG_NDELAY from the openlog() call since the expected behaviour
to get a FALSE returned on connection problems isn't supported by
the underlying POSIX API.
|
2011-03-22 23:18:13 +01:00 |
|
Sven Paulus
|
d9d0f51238
|
add SyslogHandler to Monolog
usage example:
$log = new Logger('application');
$syslog = new SyslogHandler('myfacility', 'local6');
$formatter = new LineFormatter("%channel%.%level_name%: %message% %extra%");
$syslog->setFormatter($formatter);
$log->pushHandler($syslog);
|
2011-03-22 14:43:45 +01:00 |
|
Christophe Coevoet
|
7a912a49ee
|
Removed the public keyword in the interface
|
2011-03-19 23:26:12 +01:00 |
|
Christophe Coevoet
|
3a3c96d6d7
|
Added some methods in the HandlerInterface and some typehints
|
2011-03-19 23:07:44 +01:00 |
|
Christophe Coevoet
|
fb503eebf2
|
Fixed an error when close() is called with an invalid resource.
|
2011-03-18 19:44:14 +01:00 |
|
Matthew Ratzke
|
019ebad67a
|
fixed incorect record var
|
2011-03-01 15:32:22 -07:00 |
|
Jordi Boggiano
|
18d53e0db1
|
Renamed var back to message where it makes sense
|
2011-02-25 23:06:36 +01:00 |
|
Jordi Boggiano
|
6c24217c56
|
Renamed message to record
|
2011-02-25 23:01:43 +01:00 |
|
Jordi Boggiano
|
efc2bd656b
|
Added some docs
|
2011-02-25 22:13:23 +01:00 |
|
Jordi Boggiano
|
156e2ace46
|
Reorder processor stack
|
2011-02-25 22:01:37 +01:00 |
|
Jordi Boggiano
|
903bbd0fd6
|
Move the stack handling to the Logger class
|
2011-02-25 22:00:51 +01:00 |
|
Jordi Boggiano
|
1983270611
|
Partially prevent circular references in the handler chain
|
2011-02-24 22:14:00 +01:00 |
|
Jordi Boggiano
|
f4e85e9412
|
Fixed typo
|
2011-02-24 22:12:23 +01:00 |
|
Jordi Boggiano
|
0bb419cb95
|
Added array output to LineFormatter
|
2011-02-23 10:57:27 +01:00 |
|
Jordi Boggiano
|
811e6c79d6
|
Added docblocks and fixed a couple tests
|
2011-02-22 12:10:54 +01:00 |
|
Jordi Boggiano
|
81c6cd3ed1
|
Added note about formatters
|
2011-02-21 20:43:07 +01:00 |
|
Jordi Boggiano
|
a426ce2815
|
Added a Processor stack to the Logger class, added getHandler() to check if any handler is going to handle the message before processing it, handlers are now calling their parent in a chain
|
2011-02-21 20:38:18 +01:00 |
|
Jordi Boggiano
|
8d27400122
|
Updated README
|
2011-02-21 19:59:48 +01:00 |
|
Jordi Boggiano
|
a1f7d1085b
|
Removed dead code in Logger
|
2011-02-20 22:44:52 +01:00 |
|
Jordi Boggiano
|
5ab1693f4d
|
Made getLevelName static
|
2011-02-20 22:44:32 +01:00 |
|
Jordi Boggiano
|
228af6a6cd
|
Documented and tested FingersCrossedHandler
|
2011-02-20 22:40:45 +01:00 |
|
Jordi Boggiano
|
0b04559217
|
Fixed AbstractHandler test
|
2011-02-20 22:40:16 +01:00 |
|
Jordi Boggiano
|
504e7003e4
|
Adjusted method names
|
2011-02-20 22:31:55 +01:00 |
|
Jordi Boggiano
|
1808350061
|
Added TestHandler
|
2011-02-20 22:26:29 +01:00 |
|
Jordi Boggiano
|
89a447e135
|
Fixed typo
|
2011-02-20 21:48:14 +01:00 |
|
Jordi Boggiano
|
0d57b84816
|
Added FingersCrossedHandler
|
2011-02-20 20:53:49 +01:00 |
|
Jordi Boggiano
|
3fa6e4b91f
|
Major refactoring to follow the Logbook model
|
2011-02-20 20:53:11 +01:00 |
|
Jordi Boggiano
|
860194e879
|
Messages are now passed as arrays
|
2011-02-18 19:19:24 +01:00 |
|
Jordi Boggiano
|
37d7f20694
|
Added some docs on levels
|
2011-02-18 19:10:19 +01:00 |
|
Jordi Boggiano
|
d087dd4c9a
|
Fixed README
|
2011-02-18 01:13:49 +01:00 |
|
Jordi Boggiano
|
594ed9cdcb
|
Simplified message levels
|
2011-02-18 00:44:21 +01:00 |
|
Jordi Boggiano
|
5411d236c1
|
renamed log/warn/.. to addMessage/addWarning/..
|
2011-02-18 00:36:08 +01:00 |
|
Jordi Boggiano
|
a30c1d6b71
|
Fix license info
|
2011-02-17 11:37:11 +01:00 |
|