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

1333 Commits

Author SHA1 Message Date
Marc Abramowitz
368b1f0121 Remove RavenFormatter; this is not needed since Raven is a very simple
text-oriented interface and doesn't need special processing.
2012-10-25 09:05:21 -07:00
Marc Abramowitz
5d172122bc Address a few of the concerns from @stof in #76. 2012-10-24 23:48:18 -07:00
Sebastian Goettschkes
2c0d390c0c Change visibility back to private 2012-10-24 20:54:22 +02:00
Thomas Rabaix
5e0fabeb0d Add the timezone in the the \DateTime constructor. While the DateTime object
is initialized without the DateTimeZone instance, the underline library
execute a stat('.../Europe/Paris') to check if the OS knows the timezone.

This will improve performance on long run process by avoiding unless i/o calls.
2012-10-24 14:58:02 +02:00
Aizat Faiz
938b608c6c Use late static binding to allow people to extend Logger 2012-10-19 08:12:34 -07:00
Kamisama
afe921b89d Add microsecond precision to time 2012-10-17 18:06:36 -04:00
Tim Mower
0a63050c7f Fix indentation 2012-10-17 08:14:19 +01:00
Tim Mower
93329e2a7f Add logstash formatter 2012-10-17 00:25:52 +01:00
Rob Loach
09168eaca8 Fix whitespace 2012-10-12 12:54:44 -04: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
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