summaryrefslogtreecommitdiffstats
path: root/src/Monolog/Handler
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '1.x'Jordi Boggiano2017-06-191-3/+3
|\
| * Fix 5.3 supportJordi Boggiano2017-06-191-3/+3
| |
* | Minor code cleanup on Handler/ErrorLogHandler.php (#995)Westin Shafer2017-06-191-6/+7
| | | | | | Just some cleanup for readability.
* | Merge branch '1.x'Jordi Boggiano2017-06-195-17/+29
|\ \ | |/
| * SlackWebhookHandler: refactor curl_setopt to curl_setopt_arrayHarm Bandstra2017-06-191-6/+10
| |
| * Explicitly set content-type header, and post JSON as bodyHarm Bandstra2017-06-191-1/+2
| |
| * Fix SwiftMailerHandler support for Swiftmailer 6.0+Alex Rock Ancelet2017-06-191-1/+6
| |
| * Use Aws\Sdk instead of Aws\Common\Aws, fixes #969, fixes #977Jordi Boggiano2017-06-191-2/+2
| |
| * Tweak HandlerWrapper example in docblock, fixes #991Jordi Boggiano2017-06-191-8/+10
| |
| * Support HeadlessChrome (#966)Douglas Reith2017-06-191-1/+1
| | | | | | * Support HeadlessChrome
| * Add level parameter to payload when reporting Rollbar exceptions (#852)Erik Johansson2017-03-201-0/+1
| |
* | Use callable typehint where possible + Removed dead code (#996)Grégoire Pineau2017-06-192-8/+1
| | | | | | | | | | | | | | | | * Removed dead code * Use callable typehint where possible * Removed PHP5.3 workaround
* | Fix some docblocks, closes #970Jordi Boggiano2017-06-192-6/+6
| |
* | Remove old BCJordi Boggiano2017-06-192-48/+0
| |
* | Use coalesce operator (#982)Lesnykh Ilia2017-05-082-5/+5
| | | | | | | | | | | | | | | | | | | | * Use coalesce operator * Use coalesce operator * Use coalesce operator * Use coalesce operator
* | Fix testsJordi Boggiano2017-03-201-1/+1
| |
* | CS fixesJordi Boggiano2017-03-207-31/+28
| |
* | Make sure we use \Throwable and not just \ExceptionJordi Boggiano2017-03-203-8/+7
| |
* | Add level parameter to payload when reporting Rollbar exceptions (#852)Erik Johansson2017-03-191-0/+1
| |
* | Merge branch '1.x'Jordi Boggiano2017-03-172-2/+34
|\ \ | |/
| * Split off work into a new method to facilitate extension, fixes #945Jordi Boggiano2017-03-171-0/+11
| |
| * Fix BC break and formattingJordi Boggiano2017-03-171-9/+11
| |
| * Complete rfc5424 header for SyslogUdpHandleront2017-03-151-2/+21
| | | | | | | | | | WARN: this commit adds backward incompatibility for the SyslogUdpHandler constructor.
* | Merge branch '1.x'Jordi Boggiano2017-03-121-1/+2
|\ \ | |/
| * Allow to set custom event_id [LEGACY] (#930)Tim Strijdhorst2017-03-121-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
| * Add missed return phpdoc tag. (#908)Lesnykh Ilia2017-01-111-0/+1
| | | | | | | | | | | | * Add missed return phpdoc tag. * Change $this to self.
* | Logmatic fix (#914)Guillaume Polaert2017-03-121-3/+3
| | | | | | | | * Adding the marker field to improve the Logmatic.io compatibilty
* | Replacing the outdated add* methods in the docs with the PSR-3 compliant ↵StevenW2017-01-071-1/+1
| | | | | | | | methods.
* | Merge branch '1.x'Jordi Boggiano2016-12-163-45/+95
|\ \ | |/
| * Slack improvements (#894)Anton Nizhegorodov2016-12-133-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
* | More interface updatesJordi Boggiano2016-11-272-2/+2
| |
* | Interface updatesJordi Boggiano2016-11-272-2/+2
| |
* | Merge branch '1.x'Jordi Boggiano2016-11-264-146/+488
|\ \ | |/
| * Do not put empty Slack attachments array by defaultHaralan Dobrev2016-11-191-1/+0
| |
| * Format constructors on a single lineHaralan Dobrev2016-11-192-18/+4
| | | | | | | | This is for consistency with the rest of the handlers.
| * Make message formatting behaviour same as previous versionAnton Nizhegorodov2016-11-192-1/+25
| |
| * Fix SlackHandlerAnton Nizhegorodov2016-11-191-0/+4
| | | | | | | | Slack API requires to json_encode the attachment field.
| * Add missing PHPDoc typesHaralan Dobrev2016-11-191-3/+3
| |
| * Refactor SlackRecordAnton Nizhegorodov2016-11-191-37/+47
| |
| * Update SlackHandler tests && allow SlackRecord formatter change after ↵Anton Nizhegorodov2016-11-192-0/+19
| | | | | | | | construction
| * Codereview fixes based on @stof commentsAnton Nizhegorodov2016-11-193-32/+15
| |
| * Make sure extra/context variables are stringified when more than one level deepAnton Nizhegorodov2016-11-191-3/+3
| |
| * No need for extra json_encodeAnton Nizhegorodov2016-11-191-1/+1
| |
| * Make SlackRecord::stringify() work without a line formatterHaralan Dobrev2016-11-191-1/+5
| |
| * Expose a getter for the SlackRecord in Slack handlersHaralan Dobrev2016-11-192-0/+10
| |
| * Mark former public methods of SlackHandler as deprecatedHaralan Dobrev2016-11-191-0/+12
| | | | | | | | The SlackRecord could be used now
| * Use constants for Slack colorsHaralan Dobrev2016-11-191-4/+12
| |
| * Add a Slack Webhooks handler using the same SlackRecord utilHaralan Dobrev2016-11-191-0/+96
| |
| * Make channel in SlackRecord optional to allow for webhooksHaralan Dobrev2016-11-191-1/+4
| |
| * Extract logic for preparing Slack data to SlackRecordHaralan Dobrev2016-11-192-152/+253
| | | | | | | | Keep the protected interface of the SlackHandler intact.
| * Add a Slackbot handlerHaralan Dobrev2016-11-191-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.
* | Merge branch '1.x'Jordi Boggiano2016-11-161-3/+3
|\ \ | |/
| * Make protected generic methods publicJulien Falque2016-11-161-3/+3
| |
* | Merge branch '1.x'Jordi Boggiano2016-11-151-1/+11
|\ \ | |/
| * CSJordi Boggiano2016-11-151-1/+1
| |
| * isolate fwrite to allow overrideJay MOULIN2016-11-151-1/+11
| |
* | Merge pull request #879 from martijncalker/add-sqshandlerJordi Boggiano2016-11-141-0/+53
|\ \ | | | | | | Add SqsHandler
| * | Add SqsHandlerMartijn van Calker2016-11-141-0/+53
| | |
* | | Merge pull request #824 from adambro/patch-1Jordi Boggiano2016-11-141-1/+1
|\ \ \ | | | | | | | | Throw RuntimeException if socket resource is missing
| * | | Throw RuntimeException if socket resource is missingAdam Brodziak2016-07-201-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-handlerJordi Boggiano2016-11-131-0/+42
|\ \ \ \ | | | | | | | | | | Added the NoopHandler.
| * | | | Added the NoopHandler.Roel Harbers2016-10-121-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 Boggiano2016-11-133-6/+19
|\ \ \ \ | | |_|/ | |/| |
| * | | Add a RollbarHandler::flush() and make it close automatically on shutdown, ↵Jordi Boggiano2016-11-131-4/+17
| | | | | | | | | | | | | | | | fixes #864, closes #865
| * | | Allow overriding the routing key in AMQPHandler, fixes #874Jordi Boggiano2016-11-131-1/+1
| | | |
| * | | Make the RavenHandler picks the first highest record as mainTugdual Saunier2016-10-131-1/+1
| | | |
* | | | New parameter $printSimpleMessage default false (Whether the attachment ↵Riccardo Messineo2016-10-181-2/+3
| |/ / |/| | | | | | | | should include only the message without extradata)
* | | Merge branch '1.x'Jordi Boggiano2016-09-291-3/+21
|\ \ \ | |/ /
| * | Add support for AWS SDK v3Jordi Boggiano2016-09-291-3/+21
| | |
* | | Skip phan errorJordi Boggiano2016-09-291-0/+2
| | |
* | | Fix type errors, thanks phanJordi Boggiano2016-09-2510-30/+29
| | |
* | | CS fixesJordi Boggiano2016-09-251-5/+5
| | |
* | | Merge branch '1.x'Jordi Boggiano2016-09-252-27/+39
|\ \ \ | |/ /
| * | Make sure SyslogUdpHandler does not create empty frames where not necessary, ↵Jordi Boggiano2016-09-251-1/+1
| | | | | | | | | | | | fixes #841
| * | Tweak RollbarHandler to use proper levels and include level and level_name ↵Jordi Boggiano2016-09-251-23/+35
| | | | | | | | | | | | in context info, fixes #852
* | | Merge branch '1.x'Jordi Boggiano2016-09-181-1/+1
|\ \ \ | |/ /
| * | Add support for PHP 7 errors in RavenHandler by checking for Throwable ↵Jared King2016-08-171-1/+1
| | | | | | | | | | | | instead of Exception
* | | Merge branch '1.x'Jordi Boggiano2016-07-292-5/+11
|\ \ \ | |/ /
| * | Fix testsJordi Boggiano2016-07-291-1/+1
| | |
| * | Allow formatting of message by setting a line formatter on SlackHandler, ↵Jordi Boggiano2016-07-291-4/+10
| | | | | | | | | | | | fixes #829
* | | Merge remote-tracking branch 'ondrejmirtes/phpstan'Jordi Boggiano2016-07-292-2/+2
|\ \ \
| * | | Fixed incompatible interfaces with MailHandlerOndrej Mirtes2016-07-192-2/+2
| | |/ | |/|
* | | Merge branch '1.x', fixes #771Jordi Boggiano2016-07-291-1/+1
|\ \ \ | | |/ | |/|
| * | Make separator optionalJordi Boggiano2016-07-291-1/+1
| | |
* | | Merge branch '1.x'Jordi Boggiano2016-07-291-3/+4
|\ \ \ | |/ / | | / | |/ |/|
| * Allow other separators for the date format in RotatingFileHandlerJordi Boggiano2016-07-291-4/+5
| |
* | CS fixesJordi Boggiano2016-07-023-17/+17
| |
* | Merge remote-tracking branch 'JulienBreux/feature/logmatic'Jordi Boggiano2016-07-021-0/+88
|\ \
| * | 😱 Remove constJulien Breux2016-06-281-1/+1
| | |
| * | Fix scalar typehintsJulien Breux2016-06-281-1/+1
| | |
| * | Remove constJulien Breux2016-06-281-2/+1
| | |
| * | Add Logmatic.ioJulien Breux2016-06-281-0/+89
| | |
* | | Merge branch '1.x'Jordi Boggiano2016-07-021-0/+10
|\ \ \ | |/ / |/| / | |/
| * Fix GroupHandler::handleBatch when the handler has processors, fixes #814Jordi Boggiano2016-07-021-0/+10
| |
* | Fix for TypeError - stream_set_timeout() expects integer as second and third ↵Martin Kačmar2016-06-151-1/+1
| | | | | | | | parameter
* | More amqp fixesJordi Boggiano2016-05-271-0/+2
| |
* | Fix typoJordi Boggiano2016-05-271-1/+1
| |
* | Fix AmqpHandler class checkJordi Boggiano2016-05-271-1/+1
| |
* | Move to strict mode and fix testsJordi Boggiano2016-05-2763-76/+79
| |
* | Merge branch '1.x'Jordi Boggiano2016-05-261-0/+10
|\ \ | |/