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

590 Commits

Author SHA1 Message Date
Jeremy Mikola
aa6ab660bd MongoDBHandler only supports ext-mongodb and mongodb/mongodb
The legacy driver (i.e. ext-mongo) is not supported on PHP 7, so there is no reason to leave behind its supporting code.
2016-01-21 15:58:45 -05:00
Will Banfield
d860b763cb Response to CR comments 2016-01-21 14:20:09 -05:00
Will Banfield
f6a9fdbb2c Add case for if manager is passed in 2016-01-21 14:19:35 -05:00
Will Banfield
ad37c8e663 Change 'save' to 'insert' in MongoDBHandler 2016-01-21 14:16:22 -05:00
Jordi Boggiano
6c424f851c Add a lot more scalar types and go strict in Logger 2015-12-18 17:48:48 +00:00
Jordi Boggiano
b5b773e12f Fix naming conflicts in PhpConsoleHandler 2015-12-18 17:48:45 +00:00
Jordi Boggiano
45323b9102 Remove BC magic getter from SwiftMailerHandler 2015-12-18 17:48:42 +00:00
Jordi Boggiano
902c0c8694 Split interfaces and base/abstract classes into more sensible pieces 2015-12-18 17:48:40 +00:00
Jordi Boggiano
3a41aa08c4 Docblock fixes 2015-12-18 17:48:21 +00:00
Jordi Boggiano
bc2bdedcc2 Merge pull request #676 from kornrunner/master
mongodb/mongodb support
2015-11-18 17:18:56 +00:00
Jordi Boggiano
b3f1d9a792 Add note about payload context var, refs #687 2015-11-18 17:17:24 +00:00
Jordi Boggiano
5ee8529a7a Merge pull request #687 from edvardasd/master
Pass payload information to RollbarHandler on report_message.
2015-11-18 17:14:45 +00:00
Jordi Boggiano
64f6c3d916 Adjust docblocks, refs #686 #685 2015-11-18 17:14:09 +00:00
Jordi Boggiano
0880801b4a Merge pull request #686 from apfelbox/hipchat-from
[HipChatHandler] Always send the "from" name
2015-11-18 17:12:52 +00:00
Jordi Boggiano
c889fb2648 CS fixes & upgrading cs fixer config 2015-11-18 17:09:46 +00:00
Jannik Zschiesche
fa38530fdc Always append "from" field when sending to HipChat 2015-11-18 10:25:04 +01:00
Edvardas Daukšas
c5465b8e1a Pass payload information to RollbarHandler on report_message. 2015-11-18 10:59:57 +02:00
Jannik Zschiesche
45d243f0ab Always send the "from" name in the hipchat handler 2015-11-17 18:52:08 +01:00
Elan Ruusamäe
a5c56fdf1e two more minor spelling fixes 2015-11-09 18:21:29 +02:00
Elan Ruusamäe
b72866e6dd info is uncountable 2015-11-09 18:17:39 +02:00
Elan Ruusamäe
745100db42 Update NativeMailerHandler.php
don't calculate parameters in a loop
2015-11-09 11:08:56 +02:00
Boris Momčilović
4764052a10 MongoDBHandler: write: call proper method if we've got instance of MongoDB\Collection 2015-11-03 20:47:58 +01:00
Boris Momčilović
435ddc2ec6 MongoDBHandler: support for MongoDB\Client 2015-11-03 20:34:57 +01:00
Jordi Boggiano
6b42e7d241 Merge pull request #668 from silvadanilo/avoid_infinite_loop
Avoid infinite loops when no data is written on a socket for a time
2015-10-28 15:18:16 +00:00
Danilo Silva
988d595351 set to 10 seconds the default timeout during writing data on a socket, to aovid possible issue and with a very low risk to break backward compatibility @Seldaek 2015-10-28 16:13:45 +01:00
Danilo Silva
65cc3083b6 exit prematurely when data has been written to avoid unnecessary time check @Seldaek 2015-10-28 16:12:09 +01:00
Adrian Föder
4a1429e573 [TASK] CGL fix
This replaces a double-quote occurrence with
a single-quote one to comply with the CGL
as well as fixing an escaping mistake.
2015-10-19 12:25:21 +02:00
Danilo Silva
5c129a7f7f Avoid infinite loops when no data is written on a socket for a time greater than writingTimeout settings 2015-10-19 12:02:32 +02:00
pomaxa
fc077b8172 * fix var passed to curl::execute
* phpdoc
* remove defining null for class props.
2015-09-30 01:08:08 +03:00
pomaxa
5b05c66429 php doc for throw exception 2015-09-30 00:53:37 +03:00
Jordi Boggiano
ec0b383ace Merge pull request #647 from rap2hpoutre/patch-1
Use `text` and `title` fields for SlackHandler
2015-09-21 10:25:59 +01:00
François-Xavier de Guillebon
f24867ad06 Fixed undeclared properties 2015-09-17 14:33:27 +02:00
raph
976259bb5b Use text and title fields for SlackHandler
According to slack documentation (https://api.slack.com/docs/attachments),  an attachment may have a title and a text. The log message and title should use these fields. One of the benefits of using these two properties instead of adding a field is that it's shortened (with a "show more" button) and expandable by slack. It adds a bit of hierarchy in the attachement. Message is the content. Extra and context are additional fields.
2015-09-17 09:52:52 +02:00
Aleksei Shmelev
aaa2854b10 SwiftMailerHandler bugfix.
Added generating unique id when building message and test.
2015-09-14 16:37:30 +03:00
Jordi Boggiano
5785a9ac4a Fix CS and php5.3 compat 2015-08-31 10:26:07 +01:00
Jordi Boggiano
18013a5e7d Fix rollbar triggering strict notices 2015-08-31 10:16:39 +01:00
Moshe Brevda
dce930e43d Fix syntax 2015-08-27 09:47:53 +03:00
Moshe Brevda
fd4687b089 Better variable handling 2015-08-27 09:44:55 +03:00
Moshe Brevda
2719cca77f Add payload, too 2015-08-23 02:03:17 +03:00
Moshe Brevda
a4033bf3d6 Pass context to RollBar 2015-08-23 00:06:48 +03:00
Tomasz Wójcik
762361fff9 RavenHandler supports extra parameters 2015-08-16 11:13:32 +02:00
Tomasz Wójcik
4551b8c63b RavenHandler handles custom checksums 2015-08-15 17:58:48 +02:00
Jordi Boggiano
57dc037895 Add IFTTTHandler to docs 2015-08-09 18:44:06 +01:00
Jordi Boggiano
cd3f9f1e50 CS fixes, refs #623 2015-08-09 17:52:11 +01:00
Jordi Boggiano
0fef7571db Merge remote-tracking branch 'nehalvpatel/master' 2015-08-09 17:50:40 +01:00
Jordi Boggiano
3dccef613e Make sure handlers can be closed multiple times 2015-08-09 17:29:31 +01:00
Nehal Patel
e3ed389fef Added the IFTTTHandler 2015-08-07 20:05:00 -05:00
Ahmet Soormally
7f0cc89685 Update Util.php
Fixes bug with error handler. Once `curl_close($ch)` is called, then `curl_errno($ch)` and `curl_error($ch)` makes no sense and will cause an error in the exception handler.
2015-07-29 11:56:27 +01:00
Jordi Boggiano
e4f45be5dc Fix CS 2015-07-20 19:31:46 +01:00
William Johnston
3fa5b2f36d Create directory on initial log write rather than class instantiation. 2015-07-14 13:19:53 -05:00