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

439 Commits

Author SHA1 Message Date
Jordi Boggiano
dae7e03ae3 Fix permissions 2013-01-22 10:58:40 +01:00
Jordi Boggiano
63ddafb492 Merge remote-tracking branch 'AlexButter/master' 2013-01-22 10:56:59 +01:00
Ryan LaHue
e0d18f454b Make ChromePHPHandler and FirePHPHandler sendHeaders flag static so that when multiple instances of the handler class exist they will all respect the one-time check that determines whether the handler should append its logs to the response header 2013-01-21 13:10:35 -08:00
Alex Butter
448d5470f0 Option to use SSL for PushoverHandler (enabled by default), and close connection after sending a message to PushOver.
Solves #146: When sending messages in rapid succession to pushover.net only the first one is sent.
The SSL option is needed when sending messages to users that are not the pushover.net app owner; pushover.net doesn't accept those messages over plain HTTP.
2013-01-16 12:57:14 +01:00
Jordi Boggiano
bf356ef72f Update raven log level mappings 2013-01-07 20:46:34 +01:00
Jordi Boggiano
fb59ffe709 Merge remote-tracking branch 'msabramo/raven'
Conflicts:
	README.mdown
	composer.json
2013-01-07 20:33:40 +01:00
Jordi Boggiano
04f41cd661 CS fixes 2013-01-06 21:43:53 +01:00
Jordi Boggiano
176cb2a354 Change the default pushover title to the hostname 2013-01-06 21:43:32 +01:00
Jordi Boggiano
09d8747914 Specify port in the connection string instead of adding a protected property 2013-01-06 21:38:40 +01:00
Jordi Boggiano
a35401e8ce Merge remote-tracking branch 'Sgoettschkes/PushoverHandler' 2013-01-06 21:12:35 +01:00
Jordi Boggiano
d4b18d8160 Docblock fix 2013-01-06 20:56:34 +01:00
Jordi Boggiano
e569dfc27a Merge remote-tracking branch 'Baachi/couchdb' 2013-01-06 20:47:53 +01:00
Jordi Boggiano
2909f89faa Clarify docblocks, fixes #142 2013-01-06 20:25:29 +01:00
AlexeyDsov
a3e5148444 fixing SyslogHandler::getDefaultFormatter format 2012-12-21 13:31:44 +04:00
Jordi Boggiano
8dd213fcf1 Merge remote-tracking branch 'origin/master' 2012-12-14 12:21:55 +01:00
Jordi Boggiano
9c8db38385 CS fixes 2012-12-14 12:15:30 +01:00
Jeremy Mikola
6d3bca8543 Support MongoClient in MongoDBHandler 2012-12-13 15:17:20 -05:00
Markus Bachmann
6fedfa74ce Merge remote-tracking branch 'upstream/master' into couchdb 2012-11-21 19:11:25 +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
Kamisama
afe921b89d Add microsecond precision to time 2012-10-17 18:06:36 -04: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
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
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