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

595 Commits

Author SHA1 Message Date
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
Jordi Boggiano
c5b08724f4 Merge pull request #605 from localheinz/fix/docblock
Fix: Type should be bool
2015-07-14 10:27:59 +01:00
Jordi Boggiano
0ea238bd45 Merge pull request #604 from localheinz/fix/undefined-class
Fix: Use FQCNs for exceptions in docblock, too
2015-07-14 10:27:47 +01:00
Jordi Boggiano
ca1376bd61 CS fixes 2015-07-14 10:26:05 +01:00
Jordi Boggiano
cf6fa57dd4 Merge pull request #602 from ninjapenguin/add-redis-apped-collection
Adds ability to cap log size in redis
2015-07-14 09:02:00 +01:00
Andreas Möller
462ffe495a Enhancement: Rename parameter 2015-07-13 22:10:37 -04:00
Andreas Möller
a88d24ef45 Fix: Type should be boolean 2015-07-13 22:10:11 -04:00
Andreas Möller
ebda097b23 Fix: Use FQCNs for exceptions in docblocks, too 2015-07-13 22:07:15 -04:00
Matt Wells
12711d133a Switch back to using rpush
Switches back to rpush to keep list order consistent with non capped
collections
2015-07-13 19:40:51 +01:00
Matt Wells
ae2b2d0de1 fixes reference for 5.3 in predis callback 2015-07-12 19:28:05 +01:00
Matt Wells
050694291e Adds ability to cap log size in redis
100% backward compatible, defaults to not capping collection size.

Additional constructor param of $capSize added which will ensure logs
list is treated as a FILO queue

Test coverage on new functionality
2015-07-12 17:26:16 +01:00
Jordi Boggiano
e92a8823c0 Migrate the curl retry functionality into a util class for re-use, refs #599 2015-07-12 14:40:07 +01:00
Jordi Boggiano
1edc7d9cc9 Merge remote-tracking branch 'psquickitjayant/master' 2015-07-12 14:12:27 +01:00
Jordi Boggiano
9e342cb750 Fix escaping in BrowserConsoleHandler, fixes #537 2015-07-12 12:38:40 +01:00
Jordi Boggiano
5946647547 Fix the build 2015-07-12 11:26:49 +01:00
Jordi Boggiano
d17cf064af Make sure flowdock handler is configured correctly, fixes #597 2015-07-12 11:21:03 +01:00
psquickitjayant
f17e5a6ec3 Fixed formatting issues 2015-07-08 02:35:47 +05:30
psquickitjayant
f258a2ed29 Added support for retry logic 2015-07-07 21:55:03 +05:30
Jordi Boggiano
6dd76b944d Merge pull request #584 from dominikzogg/fixmissingdirectory
stream handler creates a directory if its possible
2015-07-05 22:09:41 +01:00
Dominik Zogg
fe12c5278f stream handler creates a directory if its possible 2015-07-05 12:09:12 +00:00
Daniel Blok
e71ccdeb68 spelling 2015-06-22 15:48:06 +02:00
Daniel Blok
f856456b3d Add support for Javascript output in BrowserConsoleHandler 2015-06-22 15:31:01 +02:00
Austin Hyde
f2fea2c3f5 Add TestHandler::hasRecordThatMatches($regex, $level) 2015-06-20 19:41:52 -04:00
Austin Hyde
3e8f0ecb36 Replace boilerplate with magic methods 2015-06-20 19:39:06 -04:00
Austin Hyde
202d3750d6 Move record searching to its own method: hasRecordThatPasses() 2015-06-20 19:24:29 -04:00
Jordi Boggiano
4e53428476 Remove variable func call and some more curl error checks 2015-06-19 14:29:43 +01:00
Jordi Boggiano
0c3d2082ad Merge pull request #526 from esalter/master
Add Hipchat V2 support
2015-06-19 11:46:55 +01:00
Jordi Boggiano
3f1ac6544c Format deep array params before sending to newrelic, fixes #579 2015-06-11 19:34:48 +01:00
Jordi Boggiano
5c6acb68d5 Fix min requirements 2015-06-05 11:44:02 +01:00
Roberto Araujo
201bce8022 Using the correct value for parameter 'notify' 2015-06-03 22:21:16 -03:00
Jordi Boggiano
e064827e23 Merge pull request #535 from dec5e/slack_extandable
Making SlackHandler more extendable
2015-06-01 23:47:41 +01:00
Jordi Boggiano
81e91932bf Merge pull request #557 from barchard/patch-1
Update LogglyHandler.php
2015-06-01 22:12:22 +01:00
Jordi Boggiano
8dbc563310 Merge pull request #541 from smazurov/patch-2
made raven user context less destructive
2015-06-01 22:06:43 +01:00
Reinier Kip
162c30768d Allow PSR-3 passthru level in FingersCrossedHandler. 2015-05-11 13:26:40 +02:00
Jordi Boggiano
5202b35099 Fix logging of errors and above in PHPConsoleHandler, fixes #549 2015-05-05 18:26:17 +01:00
barchard
5bdba762da Update LogglyHandler.php
Updated to add an array_unique to ensure that tags are unique. For backwards compatibility, don't rename the protected property.
2015-05-05 13:24:47 -04:00
barchard
808d3bd86b Update LogglyHandler.php
Add the ability to set multiple tags via a single call. Tags are now an array and imploded instead of appended. This prevents duplicate tags from being added.
2015-05-04 12:36:12 -04:00
Damien Seguy
0250fbe371 Remove concatenation 2015-05-02 15:24:12 +02:00
Carson Full
5037d264b1 Updated RedisHandler constructor's docblock 2015-04-24 16:34:56 -05:00
Jordi Boggiano
4f36b83738 Merge pull request #539 from djsipe/djsipe-pushover
Allow use of formatted message in PushoverHandler
2015-04-23 15:22:29 +01:00
Jordi Boggiano
6d10786e82 Merge pull request #533 from barbushin/php-console-handler
Add PHPConsoleHandler to debug in Google Chrome
2015-04-23 15:19:59 +01:00
barbushin
1c20abf2c6 Refactoring regarding Monolog authors requirements 2015-04-19 06:23:38 +08:00
Stepan Mazurov
09be78d62a made raven user context less destructive 2015-04-13 22:02:07 -06:00
DJ Sipe
c141ff3ee7 Update type cast to use boolean 2015-04-09 16:32:29 -04:00
DJ Sipe
5a00504b08 Allow use of formatted message
This change allows you to use the "formatted" index from your formatter.  This is helpful if you want to create a formatter that would include *some* context information beyond the message itself.

Since the default `LineFormatter` would be too verbose, I added a `useFormattedMessage()` method that accepts a boolean and would turn the use of the formatter on or off. This way, if you want to use a custom formatter, you can enable the functionality...but it will still work the same out of the box otherwise with just the message getting sent to Pushover.
2015-04-09 15:58:16 -04:00
Andrey Artemov
252690add1 Making SlackHandler more extendable 2015-04-07 07:09:33 +03:00