1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-17 18:36:32 +02:00

2648 Commits

Author SHA1 Message Date
Jordi Boggiano
cb83512ca5 Make isHandling create the minimum required record 2012-12-21 09:41:30 +01:00
Jordi Boggiano
0df12342ef Fix tests 2012-12-14 12:27:44 +01:00
Jordi Boggiano
8dd213fcf1 Merge remote-tracking branch 'origin/master' 2012-12-14 12:21:55 +01:00
Jordi Boggiano
5e78992f96 Make applicationName mandatory in LogstashFormatter 2012-12-14 12:15:52 +01:00
Jordi Boggiano
9c8db38385 CS fixes 2012-12-14 12:15:30 +01:00
Jordi Boggiano
6588c1633e Merge remote-tracking branch 'timmow/logstash-formatter' 2012-12-14 12:07:25 +01:00
Jordi Boggiano
b67085dc76 Merge pull request #136 from jmikola/mongoclient
Support MongoClient in MongoDBHandler
2012-12-13 13:14:03 -08:00
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
Jordi Boggiano
546225bed2 Merge pull request #134 from krichprollsch/patch-1
Update doc/usage.md
2012-12-04 03:59:29 -08:00
Pierre Tachoire
dbfd076fc6 Update doc/usage.md 2012-12-04 10:45:47 +01: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
Tim Mower
8f84585b07 Fix typo 2012-11-02 08:42:53 +00:00
Marc Abramowitz
10fcd61c11 Add note about RavenHandler to README.mdown 2012-10-29 23:28:56 -07: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
Jordi Boggiano
38bb472abb Merge pull request #127 from ekino/force_timezone
Save some I/O
2012-10-24 06:22:06 -07: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
Jordi Boggiano
023b31a31f Merge pull request #126 from aizatto/master
Use late static binding
2012-10-21 06:35:48 -07:00
Aizat Faiz
938b608c6c Use late static binding to allow people to extend Logger 2012-10-19 08:12:34 -07:00
Jordi Boggiano
fa292d1a94 Merge pull request #125 from kamisama/master
Add microsecond precision to CubeHandler log time
2012-10-18 00:31:54 -07:00
Kamisama
afe921b89d Add microsecond precision to time 2012-10-17 18:06:36 -04:00
Wan Qi Chen
9b3524a92d Merge pull request #1 from Seldaek/master
Merging update from parent
2012-10-17 14:34:08 -07:00
Tim Mower
7414e5591d Added info in readme 2012-10-17 10:51:43 +01:00
Tim Mower
8373c8d57a Remove references to GelfFormatter 2012-10-17 08:59:38 +01: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
Jordi Boggiano
4b11ac0012 Merge pull request #123 from RobLoach/whitespace
Fix whitespace
2012-10-13 02:41:59 -07: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
Jordi Boggiano
09b3a80cfa Merge pull request #119 from pborreli/typos
Fixed PHPDoc
2012-09-18 08:50:48 -07:00
Pascal Borreli
22803f1f2d Fixed PHPDoc 2012-09-17 21:54:25 +00:00
Jordi Boggiano
0f3dc95c4a Merge pull request #117 from tkoomzaaskz/docs_extend_custom_format
new section: customizing logger output format
2012-09-11 04:35:21 -07:00
Tomasz Ducin
2fec0273b3 new section: customizing logger output format 2012-09-11 00:01:20 +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
Jordi Boggiano
e5bf7ba5d1 Merge pull request #112 from boombatower/documentation
Correct handler comment.
2012-09-08 05:04:54 -07: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