1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 00:56:08 +02:00
Commit Graph

17 Commits

Author SHA1 Message Date
Grégoire Pineau
f3b61cf48a Fixed visibility 2014-09-08 20:01:00 +02:00
Jordi Boggiano
09d8747914 Specify port in the connection string instead of adding a protected property 2013-01-06 21:38:40 +01:00
Sebastian Goettschkes
2c0d390c0c Change visibility back to private 2012-10-24 20:54:22 +02:00
Sebastian Goettschkes
cb675ae10f Changing typo in variable name and default title for pushover message 2012-10-05 16:56:58 +02:00
Sebastian Goettschkes
f2bac1f351 Changing the SocketHandler to call generateDataStream when writing to socket
Now the write method does not to be overwritten when the format of the dataStream the Socket sends has to be altered in any way the formatter cannot handle (See the PushoverHandler for an example)
2012-09-24 13:13:18 +02:00
Sebastian Goettschkes
7d0bacf29c Rewriting the write method
Before, the write method would alter the $record array and then call parent::write().
Now the method builds the string which should be written into the stream and then does it himself.
I had to change two methods to be protected so the PushoverHandler could call them.
2012-09-09 21:10:42 +02:00
Sebastian Goettschkes
d6489bb3ae Adding a first version of PushoverHandler
The PushoverHandler sends messages to api.pushover.net. The class depends on the SocketHandler
I modified the SocketHandler to make it possible to change the port for subclasses (Pushover needs the explicit port 80 to work)
The tests only see if the content sent to the api is correct. The rest should be already covered in the tests for the Sockets.
2012-09-09 15:50:31 +02:00
Martin Hasoň
535cea507f Avoid memory leak in SocketHandler (substr function in the first iteration) 2012-08-02 13:21:20 +02:00
Martin Hasoň
26adcea582 Enabled float timeouts in SocketHandler 2012-08-02 13:10:43 +02:00
Jordi Boggiano
b42da84c12 Minor CS fixes, updated changelog 2012-04-22 16:36:31 +02:00
Pablo de Leon Belloc
a35db5bcdb SocketHandler: Coding standard fixes. Remove redundant test. 2012-04-01 20:43:39 -03:00
Pablo Belloc
bee3e1bca4 Remove SocketHandler's ConnecitonException and WriteToSocketException - replace them with \UnexpectedValueException and \RuntimeException respectively 2012-03-28 08:49:25 -03:00
Pablo de Leon Belloc
83e1e2d80a Improve tests on SocketHandler 2012-02-27 12:38:06 -03:00
Pablo Belloc
722cabc535 Remove old SocketTest. Fix CS issues 2012-02-26 14:17:19 -03:00
Pablo Belloc
9f5681fa81 add licensce and move @author to phpdoc 2012-02-26 12:03:42 -03:00
Pablo Belloc
d752f435b5 Remove Socket, PeristentSocket and MockSocket classes 2012-02-26 11:45:10 -03:00
Pablo Belloc
486cbb78ab Initial version 2012-02-25 20:37:04 -03:00