1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-25 18:46:14 +02:00
Commit Graph

1524 Commits

Author SHA1 Message Date
Sebastian Goettschkes
cb675ae10f Changing typo in variable name and default title for pushover message 2012-10-05 16:56:58 +02:00
Sebastian Goettschkes
11c07edfbe Overwriting the generateDataStream method to format the Data sent to Pushover
This way, the write method does not have to be overwritten.
2012-09-24 13:14:51 +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
Pascal Borreli
22803f1f2d Fixed PHPDoc 2012-09-17 21:54:25 +00: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
Jimmy Berry
48729c02c8 Correct handler comment. 2012-09-07 23:06:35 -07:00
Jordi Boggiano
a929570bb7 Fix json encoding, fixes #110 2012-09-05 21:32:46 +02:00
Markus Bachmann
e282394736 Add couchdb handler 2012-08-29 18:28:05 +02:00
David Zuelke
1feffd31fd add arg docs 2012-08-29 11:23:13 +02:00
David Zuelke
76fb21b31b Allow passing of openlog() options in SyslogHandler ctor 2012-08-29 10:54:14 +02:00
Geoffrey Tran
f8fce6fd54 Update src/Monolog/Handler/SyslogHandler.php
Missing use statement for LineFormatter, which causes a fatal exception.
2012-08-25 12:01:32 -05:00
Jordi Boggiano
7c2ca1c61c CubeHandler cleanup 2012-08-18 18:51:10 +02:00
Jordi Boggiano
bd73a56c67 Merge remote-tracking branch 'kamisama/master' 2012-08-18 18:26:24 +02:00
Jordi Boggiano
0ce44f1526 Improve error reporting on failed streams, refs #85 2012-08-18 18:18:40 +02:00
Jordi Boggiano
ae31045917 Merge pull request #100 from hason/socket
Improved SocketHandler
2012-08-10 07:00:18 -07: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
Kamisama
6255ae58ee Set channel name as default record type 2012-07-31 16:17:32 -04:00
Alexandru Vilau
0f89a6b267 Improved default line formatter for syslog handler 2012-07-22 04:03:43 +02:00
Adel
95e8569b4d Remove unused @param 2012-07-11 22:25:06 +00:00
Kamisama
e14ce7c8ba PSR-2 fixes and lazy connection 2012-07-10 11:46:23 -04:00
Kamisama
76e546a9aa Added CubeHandler
Send event to Cube via udp or http
2012-07-09 16:11:19 -04:00
Jordi Boggiano
6cbdc0410c Set default timezone on log records, fixes #94 2012-06-26 14:56:24 +02:00
Jordi Boggiano
89b5a3caac Cosmetic fixes 2012-06-19 22:15:10 +02:00
Jordi Boggiano
efa37359df Merge remote-tracking branch 'pomaxa/master' 2012-06-19 21:40:04 +02:00
Jordi Boggiano
9dee289dae Fix formatters to handle new levels 2012-06-19 20:53:33 +02:00
Jordi Boggiano
c8ca42764c Cosmetic fixes 2012-06-19 20:39:54 +02:00
Jordi Boggiano
61359a972b Merge remote-tracking branch 'FGM/master' 2012-06-19 20:28:04 +02:00
Jordi Boggiano
388056fd92 Fix wildfire formatter with custom data types, refs #89 2012-06-15 18:55:16 +02:00
Jordi Boggiano
4829b09743 Avoid failures when normalizing exotic values, fixes #89 2012-06-15 16:45:26 +02:00
pomaxa
0932fd33c4 comments & readme update 2012-06-15 14:31:50 +03:00
pomaxa
6b4f4af85f get issuer name from record param channel, instead of passing it through handler constructor 2012-06-15 13:18:44 +03:00
Jordi Boggiano
da33c84d07 CS fixes 2012-06-14 15:47:01 +02:00
Shreef
96a2319a24 little update related to issue #91 to make sure that the buffer won't get sent to the sub-handler twice 2012-06-14 15:21:41 +02:00
Shreef
85317d4f8f fixed issue #91 2012-06-14 14:58:17 +02:00
pomaxa
fb19840a8f add type hint, remove Exception 2012-06-13 17:36:25 +03:00
Andrew Tch
72ee0aee96 mock implemenation, kind of 2012-06-13 17:10:09 +03:00
pomaxa
a56543682d AMQP 2012-06-13 12:07:17 +03:00
pomaxa
be762cb0c5 style 2012-06-13 11:21:22 +03:00
pomaxa
4c46dce153 Fixed issues 2012-06-13 11:17:30 +03:00
pomaxa
b4a33da363 amqp handler.. need to test 2012-06-12 16:48:32 +03:00
Frederic G. MARAND
07aac12c72 Implement the 8 RFC3164 severity levels instead of just 6.
- constants defined for the 2 missing levels: NOTICE and EMERGENCY.
- add<level>() and <level>() convenience methods added.
- TestHandler and tests updated to account for the two extra levels.
- surjective mappings from the RFC3164 to only 6 levels changes to bijective.
- README updated accordingly.
2012-05-28 20:29:27 +02:00
Jiří Petřek
ac69638824 text-plain => text/plain 2012-05-07 19:31:59 +02:00
Jiří Petřek
5ac0d070b7 Typos 2012-05-07 18:25:13 +02:00
Jiří Petřek
93f814d721 Typos 2012-05-07 18:20:39 +02:00
Jiří Petřek
50a48feba3 NativMailerHandler: can be specified more recipients and custom headers 2012-05-07 17:38:05 +02:00
Marc Abramowitz
d51acb69f6 Correct doc block for GelfMessageFormatter - it doesn't serialize to Wildfire (that's FirePHP); it serializes to GELF. 2012-04-26 19:02:23 -07:00
Marc Abramowitz
7a81acd28b Eliminate local variables used as pseudo-named-arguments, as suggested
by @Stof in https://github.com/Seldaek/monolog/pull/76#r740449
2012-04-26 14:30:37 -07:00
Marc Abramowitz
1c5969629f Change check of record level to >= Logger::ERROR instead of >
Logger::ERROR, as suggested by @Seldaek in
https://github.com/Seldaek/monolog/pull/76#r737303
2012-04-26 14:30:37 -07:00