Jeremy Mikola
6d3bca8543
Support MongoClient in MongoDBHandler
2012-12-13 15:17:20 -05:00
Tim Mower
798a039040
Add applicationName option which gets set to the logstash @type field
2012-12-10 12:35:34 +00:00
Tim Mower
6aaf70d363
Rename classnames to LogstashFormatter as suggested by @stof
2012-12-10 12:17:05 +00:00
Tim Mower
32e6bff219
Move source files in preparation for rename to LogstashFormatter
2012-12-10 12:16:07 +00:00
Markus Bachmann
6fedfa74ce
Merge remote-tracking branch 'upstream/master' into couchdb
2012-11-21 19:11:25 +01:00
Jordi Boggiano
b23cfd3d6c
Throw an exception on invalid level name
2012-11-14 16:46:10 +01:00
Jordi Boggiano
bcb51e0140
Add $flushOnOverflow and refactor BufferHandler's internals, fixes #120 , fixes #104
2012-11-11 18:03:04 +01:00
Jordi Boggiano
30b48f1231
Enforce the handler is callable before calling it
2012-11-04 17:37:56 +01:00
Jordi Boggiano
49143f3d11
s/callback/callable/g
2012-11-04 17:37:25 +01:00
Marc Abramowitz
c2850f127c
Remove close
method which was setting $this->ravenClient = null
2012-10-25 09:27:24 -07:00
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