Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch '1.x' | Jordi Boggiano | 2017-06-19 | 1 | -3/+3 |
|\ | |||||
| * | Fix 5.3 support | Jordi Boggiano | 2017-06-19 | 1 | -3/+3 |
| | | |||||
* | | Fix level map override when using setExceptionHandler, fixes #1005 | Jordi Boggiano | 2017-06-19 | 1 | -1/+6 |
| | | |||||
* | | Minor code cleanup on Handler/ErrorLogHandler.php (#995) | Westin Shafer | 2017-06-19 | 1 | -6/+7 |
| | | | | | | Just some cleanup for readability. | ||||
* | | Merge branch '1.x' | Jordi Boggiano | 2017-06-19 | 6 | -18/+35 |
|\ \ | |/ | |||||
| * | SlackWebhookHandler: refactor curl_setopt to curl_setopt_array | Harm Bandstra | 2017-06-19 | 1 | -6/+10 |
| | | |||||
| * | Explicitly set content-type header, and post JSON as body | Harm Bandstra | 2017-06-19 | 1 | -1/+2 |
| | | |||||
| * | Fix SwiftMailerHandler support for Swiftmailer 6.0+ | Alex Rock Ancelet | 2017-06-19 | 1 | -1/+6 |
| | | |||||
| * | Use Aws\Sdk instead of Aws\Common\Aws, fixes #969, fixes #977 | Jordi Boggiano | 2017-06-19 | 1 | -2/+2 |
| | | |||||
| * | Tweak HandlerWrapper example in docblock, fixes #991 | Jordi Boggiano | 2017-06-19 | 1 | -8/+10 |
| | | |||||
| * | Support HeadlessChrome (#966) | Douglas Reith | 2017-06-19 | 1 | -1/+1 |
| | | | | | | * Support HeadlessChrome | ||||
| * | PHP Versions less than 5.3.6 throws undefined constant DEBUG_BACKTRAC… (#986) | Brant Messenger | 2017-06-19 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | * PHP Versions less than 5.3.6 throws undefined constant DEBUG_BACKTRACE_IGNORE_ARGS Notice: Use of undefined constant DEBUG_BACKTRACE_IGNORE_ARGS - assumed 'DEBUG_BACKTRACE_IGNORE_ARGS' in /vendor/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php on line 58 * Define DEBUG_BACKTRACE_IGNORE_ARGS if not defined. * Solution using PHP_VERSION_ID and not defining... ...DEBUG_BACKTRACE_IGNORE_ARGS | ||||
* | | Use callable typehint where possible + Removed dead code (#996) | Grégoire Pineau | 2017-06-19 | 2 | -8/+1 |
| | | | | | | | | | | | | | | | | * Removed dead code * Use callable typehint where possible * Removed PHP5.3 workaround | ||||
* | | LogstashFormatter: format context and extra fields as JSON objects (#976) | Elnur Abdurrakhimov | 2017-06-19 | 1 | -6/+2 |
| | | | | | | | | | | BC Break * For Logstash, format context as object instead of individual fields * For Logstash, format extra as object instead of individual fields | ||||
* | | Fix some docblocks, closes #970 | Jordi Boggiano | 2017-06-19 | 2 | -6/+6 |
| | | |||||
* | | Remove old BC | Jordi Boggiano | 2017-06-19 | 2 | -48/+0 |
| | | |||||
* | | Use namespaced phpunit classes, fixes #983 | Jordi Boggiano | 2017-06-19 | 1 | -1/+1 |
| | | |||||
* | | Remove typehints on normalizer formatter to avoid invalid function signatures | Jordi Boggiano | 2017-06-19 | 1 | -2/+2 |
| | | |||||
* | | Fix mongodb tests | Jordi Boggiano | 2017-06-18 | 1 | -1/+1 |
| | | |||||
* | | Rename level_num to monolog_level, refs #960 | Jordi Boggiano | 2017-06-18 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'pupsschluepfer/master' | Jordi Boggiano | 2017-06-18 | 1 | -0/+3 |
|\ \ | |||||
| * \ | Merge remote-tracking branch 'upstream/master' | Benjamin Pentzold | 2017-05-22 | 4 | -7/+7 |
| |\ \ | |||||
| * | | | map loglevel (int-value) to log-message, as well | Benjamin Pentzold | 2017-03-28 | 1 | -0/+3 |
| | | | | |||||
* | | | | Merge branch '1.x' | Jordi Boggiano | 2017-06-18 | 2 | -19/+18 |
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | |||||
| * | | Update JsonFormatter.php | Lesnykh Ilia | 2017-05-03 | 1 | -0/+2 |
| | | | |||||
| * | | Remove constant from constructor | Jordi Boggiano | 2017-04-10 | 1 | -2/+2 |
| | | | |||||
| * | | Use GELF max length per field and make max length configurable in constructor | Enleur | 2017-04-07 | 1 | -16/+17 |
| | | | |||||
| * | | Add level parameter to payload when reporting Rollbar exceptions (#852) | Erik Johansson | 2017-03-20 | 1 | -0/+1 |
| | | | |||||
* | | | Use coalesce operator (#982) | Lesnykh Ilia | 2017-05-08 | 4 | -7/+7 |
| |/ |/| | | | | | | | | | | | | | | | | | * Use coalesce operator * Use coalesce operator * Use coalesce operator * Use coalesce operator | ||||
* | | Fix tests | Jordi Boggiano | 2017-03-20 | 1 | -1/+1 |
| | | |||||
* | | CS fixes | Jordi Boggiano | 2017-03-20 | 12 | -54/+49 |
| | | |||||
* | | Make sure we use \Throwable and not just \Exception | Jordi Boggiano | 2017-03-20 | 3 | -8/+7 |
| | | |||||
* | | Add level parameter to payload when reporting Rollbar exceptions (#852) | Erik Johansson | 2017-03-19 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #936 from zerkms/MICRO_OPT_FOREACH_INSTEAD_OF_CURRENT/NEXT | Jordi Boggiano | 2017-03-17 | 1 | -5/+8 |
|\ \ | | | | | | | Replaced current/next-style loop with foreach | ||||
| * | | Add comment note for clarity | Jordi Boggiano | 2017-03-17 | 1 | -0/+1 |
| | | | |||||
| * | | Changed the "rewind loop condition" operand | Ivan Kurnosov | 2017-03-13 | 1 | -1/+1 |
| | | | | | | | | | The `$handlerKey` might be a slightly more readable choice here | ||||
| * | | Minor code readability improvement | Ivan Kurnosov | 2017-02-27 | 1 | -9/+4 |
| | | | |||||
| * | | Replaced current/next-style loop with foreach | Ivan Kurnosov | 2017-02-27 | 1 | -5/+12 |
| | | | |||||
* | | | Merge branch '1.x' | Jordi Boggiano | 2017-03-17 | 2 | -2/+34 |
|\ \ \ | | |/ | |/| | |||||
| * | | Split off work into a new method to facilitate extension, fixes #945 | Jordi Boggiano | 2017-03-17 | 1 | -0/+11 |
| | | | |||||
| * | | Fix BC break and formatting | Jordi Boggiano | 2017-03-17 | 1 | -9/+11 |
| | | | |||||
| * | | Complete rfc5424 header for SyslogUdpHandler | ont | 2017-03-15 | 1 | -2/+21 |
| | | | | | | | | | | | | | | | WARN: this commit adds backward incompatibility for the SyslogUdpHandler constructor. | ||||
* | | | Handle DateTime objects in formatted messages (#940) | Piers Warmers | 2017-03-14 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Handle DateTime objects in formatted meessages * Use interface to catch both DateTime and DateTimeImmutable * Maintain formatting standards. * Visibility to private. | ||||
* | | | Merge branch '1.x' | Jordi Boggiano | 2017-03-13 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Fix 5.3 support | Jordi Boggiano | 2017-03-13 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch '1.x' | Jordi Boggiano | 2017-03-12 | 2 | -1/+5 |
|\ \ \ | |/ / | |||||
| * | | Backport fix for #752, fixes #925 | Jordi Boggiano | 2017-03-12 | 1 | -1/+5 |
| | | | |||||
| * | | Allow to set custom event_id [LEGACY] (#930) | Tim Strijdhorst | 2017-03-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * +allow to set a custom event_id as an extra parameter instead of letting Raven generate a UUIDv4 * +CS * +CS * +verbose array syntax because of PHP 5.3 support | ||||
| * | | Php5.3 autoload errors (#929) | fabriceparallel | 2017-03-12 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make ErrorHandler extends LogLevel to avoid autoloading issue when error is triggered on compile * Revert "make ErrorHandler extends LogLevel to avoid autoloading issue when error is triggered on compile" This reverts commit 8140f6026f59a2be9f80e562cf6ad6d441241593. * call class_exists with force autoload set to true, to force the autoload of LogLevel on registration of the handlers | ||||
| * | | Add missed return phpdoc tag. (#908) | Lesnykh Ilia | 2017-01-11 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | * Add missed return phpdoc tag. * Change $this to self. | ||||
* | | | Move human readable level name resolution in `Logger::addRecord()` to as ↵ | Ivan Kurnosov | 2017-03-12 | 1 | -2/+2 |
| | | | | | | | | | | | | late as possible (#934) | ||||
* | | | Logmatic fix (#914) | Guillaume Polaert | 2017-03-12 | 2 | -5/+10 |
| | | | | | | | | | | | | * Adding the marker field to improve the Logmatic.io compatibilty | ||||
* | | | spelling fixes (comments, text) | klemens | 2017-02-27 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Replacing the outdated add* methods in the docs with the PSR-3 compliant ↵ | StevenW | 2017-01-07 | 2 | -3/+3 |
| | | | | | | | | methods. | ||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-12-16 | 3 | -45/+95 |
|\ \ | |/ | |||||
| * | Slack improvements (#894) | Anton Nizhegorodov | 2016-12-13 | 3 | -45/+95 |
| | | | | | | | | | | | | | | | | | | | | - [x] Exclude `extra`/`context`, `datetime`, `level` from message when attachment is used - [x] Use `ts` attachment key to display `datetime` considering user timezone - [x] [Support](https://github.com/Seldaek/monolog/pull/846#issuecomment-249528719) custom user images - [x] [Allow](https://github.com/Seldaek/monolog/pull/894#issuecomment-263532399) to setup username from slack - [x] [Improve](https://github.com/Seldaek/monolog/pull/846#issuecomment-261529198) array formatting within `context`/`extra` - [x] [Support](https://github.com/Seldaek/monolog/issues/745) `include_stacktraces` option when attachment is not used and always include stacktraces when attachment is used - [x] Support `extra`/`context` field exclusion - [x] Update tests | ||||
* | | Fixed Logstash event format link (#898) | Michal Zuber | 2016-12-13 | 1 | -1/+1 |
| | | |||||
* | | More interface updates | Jordi Boggiano | 2016-11-27 | 2 | -2/+2 |
| | | |||||
* | | Interface updates | Jordi Boggiano | 2016-11-27 | 2 | -2/+2 |
| | | |||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-11-26 | 5 | -152/+490 |
|\ \ | |/ | |||||
| * | Merge pull request #891 from naderman/t/do-not-iterate-non-arrays | Jordi Boggiano | 2016-11-26 | 1 | -6/+2 |
| |\ | | | | | | | Do not iterate non-array Traversables | ||||
| | * | Don't even try to attempt normalizing iterators or generators in context | Nils Adermann | 2016-11-24 | 1 | -6/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Iterators and Generators may not be rewindable, so foreach is not safe to use on them. Iterators and especially Generators may trigger irreversible actions on calling next(), so iterating over all values can potentially cause harm, e.g. imagine an iterator over a set of HTTP POST requests that are sent when the next value is requested . The only sufficiently safe thing to iterate and include here are primitive arrays. | ||||
| * | | Do not put empty Slack attachments array by default | Haralan Dobrev | 2016-11-19 | 1 | -1/+0 |
| | | | |||||
| * | | Format constructors on a single line | Haralan Dobrev | 2016-11-19 | 2 | -18/+4 |
| | | | | | | | | | | | | This is for consistency with the rest of the handlers. | ||||
| * | | Make message formatting behaviour same as previous version | Anton Nizhegorodov | 2016-11-19 | 2 | -1/+25 |
| | | | |||||
| * | | Fix SlackHandler | Anton Nizhegorodov | 2016-11-19 | 1 | -0/+4 |
| | | | | | | | | | | | | Slack API requires to json_encode the attachment field. | ||||
| * | | Add missing PHPDoc types | Haralan Dobrev | 2016-11-19 | 1 | -3/+3 |
| | | | |||||
| * | | Refactor SlackRecord | Anton Nizhegorodov | 2016-11-19 | 1 | -37/+47 |
| | | | |||||
| * | | Update SlackHandler tests && allow SlackRecord formatter change after ↵ | Anton Nizhegorodov | 2016-11-19 | 2 | -0/+19 |
| | | | | | | | | | | | | construction | ||||
| * | | Codereview fixes based on @stof comments | Anton Nizhegorodov | 2016-11-19 | 3 | -32/+15 |
| | | | |||||
| * | | Make sure extra/context variables are stringified when more than one level deep | Anton Nizhegorodov | 2016-11-19 | 1 | -3/+3 |
| | | | |||||
| * | | No need for extra json_encode | Anton Nizhegorodov | 2016-11-19 | 1 | -1/+1 |
| | | | |||||
| * | | Make SlackRecord::stringify() work without a line formatter | Haralan Dobrev | 2016-11-19 | 1 | -1/+5 |
| | | | |||||
| * | | Expose a getter for the SlackRecord in Slack handlers | Haralan Dobrev | 2016-11-19 | 2 | -0/+10 |
| | | | |||||
| * | | Mark former public methods of SlackHandler as deprecated | Haralan Dobrev | 2016-11-19 | 1 | -0/+12 |
| | | | | | | | | | | | | The SlackRecord could be used now | ||||
| * | | Use constants for Slack colors | Haralan Dobrev | 2016-11-19 | 1 | -4/+12 |
| | | | |||||
| * | | Add a Slack Webhooks handler using the same SlackRecord util | Haralan Dobrev | 2016-11-19 | 1 | -0/+96 |
| | | | |||||
| * | | Make channel in SlackRecord optional to allow for webhooks | Haralan Dobrev | 2016-11-19 | 1 | -1/+4 |
| | | | |||||
| * | | Extract logic for preparing Slack data to SlackRecord | Haralan Dobrev | 2016-11-19 | 2 | -152/+253 |
| | | | | | | | | | | | | Keep the protected interface of the SlackHandler intact. | ||||
| * | | Add a Slackbot handler | Haralan Dobrev | 2016-11-19 | 1 | -0/+84 |
| |/ | | | | | | | | | This is the simplest way to log to Slack using the Slackbot. It supports only plain text with automatic linking of URLs and mentions. | ||||
| * | Fix PHP7.1 DateTime support | Jordi Boggiano | 2016-11-17 | 1 | -1/+2 |
| | | |||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-11-16 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Make protected generic methods public | Julien Falque | 2016-11-16 | 1 | -3/+3 |
| | | |||||
* | | Merge branch '1.x' | Jordi Boggiano | 2016-11-15 | 1 | -1/+11 |
|\ \ | |/ | |||||
| * | CS | Jordi Boggiano | 2016-11-15 | 1 | -1/+1 |
| | | |||||
| * | isolate fwrite to allow override | Jay MOULIN | 2016-11-15 | 1 | -1/+11 |
| | | |||||
* | | Fix microseconds support on 7.1, and enable it by default as 7.1 has no perf ↵ | Jordi Boggiano | 2016-11-14 | 2 | -3/+9 |
| | | | | | | | | cost anymore | ||||
* | | Merge pull request #879 from martijncalker/add-sqshandler | Jordi Boggiano | 2016-11-14 | 1 | -0/+53 |
|\ \ | | | | | | | Add SqsHandler | ||||
| * | | Add SqsHandler | Martijn van Calker | 2016-11-14 | 1 | -0/+53 |
| | | | |||||
* | | | Merge pull request #824 from adambro/patch-1 | Jordi Boggiano | 2016-11-14 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Throw RuntimeException if socket resource is missing | ||||
| * | | | Throw RuntimeException if socket resource is missing | Adam Brodziak | 2016-07-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | The socket resource can be closed, purged or lost during the runtime of an application. It is valid concern, because the resource is acquired and used at different times during request. LogicException is more for static preconditions that have to be valid before function call. | ||||
* | | | | Merge pull request #868 from ComaVN/noop-handler | Jordi Boggiano | 2016-11-13 | 1 | -0/+42 |
|\ \ \ \ | | | | | | | | | | | Added the NoopHandler. | ||||
| * | | | | Added the NoopHandler. | Roel Harbers | 2016-10-12 | 1 | -0/+42 |
| | |/ / | |/| | | | | | | | | | | | | | | | | | | This handler handles anything, but does nothing, and does not stop bubbling to the rest of the stack. This can be used for testing, or to disable a handler when overriding a configuration without influencing the rest of the stack. | ||||
* | | | | Merge branch '1.x' | Jordi Boggiano | 2016-11-13 | 4 | -6/+25 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Add a RollbarHandler::flush() and make it close automatically on shutdown, ↵ | Jordi Boggiano | 2016-11-13 | 1 | -4/+17 |
| | | | | | | | | | | | | | | | | fixes #864, closes #865 | ||||
| * | | | Optimize removal of leftover extra/context placeholders, refs #866 | Jordi Boggiano | 2016-11-13 | 1 | -3/+5 |
| | | | | |||||
| * | | | Merge pull request #866 from p-golovin/patch-1 | Jordi Boggiano | 2016-11-13 | 1 | -0/+4 |
| |\ \ \ | | | | | | | | | | | Remove substitution for not defined variables | ||||
| | * | | | Update LineFormatter.php | Pavel Golovin | 2016-10-10 | 1 | -2/+2 |
| | | | | | |||||
| | * | | | Remove substitution for not defined variables | Pavel Golovin | 2016-10-10 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | If variable in extra or context isn't defined, than placeholder will not not be replaced in format string. This patch remove all not replaced placeholders | ||||
| * | | | | Allow overriding the routing key in AMQPHandler, fixes #874 | Jordi Boggiano | 2016-11-13 | 1 | -1/+1 |
| | | | | |