Birkir A. Barkarson
1f12588c00
eAccelerator doesn't like anonymous functions.
...
- Change to private instance method for error handler.
2013-10-10 14:01:37 +09:00
Jordi Boggiano
0ce44f1526
Improve error reporting on failed streams, refs #85
2012-08-18 18:18:40 +02:00
Jordi Boggiano
da33c84d07
CS fixes
2012-06-14 15:47:01 +02:00
Jérôme Macias
33dbc820fc
Removed unuse use statement
2011-11-13 17:18:30 +01:00
Christophe Coevoet
c1675c59d8
Added the support of a logging context
2011-06-01 00:10:38 +02:00
Ryan Weaver
d39b7084cd
Trying to carefully improve the language on a common exception message
...
For example, if using Symfony, this is probably that first thing you'll see after installing, because the logs directory won't be writable. So, ideally, it should be clear enough that the user knows to change the permissions on the directory. Many developers might not understand the idea of a "stream", but they do understand a file not being writable.
2011-05-14 18:32:30 -05:00
Christophe Coevoet
0defabb726
Refactored the AbstractHandler to avoid having some dummy write() methods
2011-05-11 18:43:04 +02:00
hidenorigoto
3b54f13e72
fixed StreamHandler close
...
I encounted the case $this->stream = 0 when close method was called,
I think the caller condition may be wrong in this case.
But stronger check for the $this->stream parameter makes sense I think.
2011-04-17 18:14:46 +09:00
Christophe Coevoet
3cb3dbdc8f
Made the write method protected
...
Tests are not a good reason to make it public.
2011-04-06 13:22:06 +02:00
Christophe Coevoet
87332a3e4e
Added phpdoc for all methods and added the typehint for the FormatterInterface
2011-04-06 00:50:18 +02:00
Jordi Boggiano
c6f59a7b7c
Gna copy paste typo
2011-04-05 23:40:58 +02:00
Jordi Boggiano
3b0f738b88
Added docblocks
2011-04-05 22:35:39 +02: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
Jordi Boggiano
6c24217c56
Renamed message to record
2011-02-25 23:01:43 +01:00
Jordi Boggiano
811e6c79d6
Added docblocks and fixed a couple tests
2011-02-22 12:10:54 +01:00
Jordi Boggiano
3fa6e4b91f
Major refactoring to follow the Logbook model
2011-02-20 20:53:11 +01:00