summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Update README.mdJordi Boggiano2017-01-201-1/+2
| | |
* | | Add documentation on internal log message structure (#895)Remon van de Kamp2017-01-201-0/+18
|/ / | | | | | | | | | | | | | | | | | | | | | | * Add documentation on internal log message structure * Fix typo and remove untrue comment * Fix a few typos * Mention that message placeholders will only be replaced when the PsrLogMessageProcessor is in use * Clarify channel field in message-structure.md
* | Merge branch '1.x'Jordi Boggiano2016-12-167-104/+201
|\ \ | |/
| * Slack improvements (#894)Anton Nizhegorodov2016-12-135-104/+201
| | | | | | | | | | | | | | | | | | | | - [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
| * Merge pull request #897 from vlakoff/readmeJordi Boggiano2016-12-042-0/+0
| |\ | | | | | | Rename Markdown files to use the regular file extension
| | * Rename Markdown files to use the regular file extensionvlakoff2016-12-032-0/+0
| |/
* | Remove remaining artifacts from mlehner/gelf-php (#896)Remon van de Kamp2016-12-133-121/+1
| |
* | Fixed Logstash event format link (#898)Michal Zuber2016-12-131-1/+1
| |
* | More interface updatesJordi Boggiano2016-11-272-2/+2
| |
* | Interface updatesJordi Boggiano2016-11-272-2/+2
| |
* | Fix testsJordi Boggiano2016-11-263-3/+3
| |
* | Merge branch '1.x'Jordi Boggiano2016-11-2611-170/+1009
|\ \ | |/
| * Finalize 1.22 readme1.22.0Jordi Boggiano2016-11-261-2/+3
| |
| * Merge pull request #891 from naderman/t/do-not-iterate-non-arraysJordi Boggiano2016-11-261-6/+2
| |\ | | | | | | Do not iterate non-array Traversables
| | * Don't even try to attempt normalizing iterators or generators in contextNils Adermann2016-11-241-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.
| * | Merge pull request #846 from hkdobrev/slack-webhooksJordi Boggiano2016-11-269-158/+1001
| |\ \ | | |/ | |/| Add new Slack handlers using Slackbot and webhooks
| | * Add unit test for SlackbotHandlerHaralan Dobrev2016-11-191-0/+47
| | |
| | * Add unit tests for SlackWebhookHandlerHaralan Dobrev2016-11-191-0/+106
| | |
| | * Do not put empty Slack attachments array by defaultHaralan Dobrev2016-11-192-4/+2
| | |
| | * 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-192-1/+5
| | | | | | | | | | | | Slack API requires to json_encode the attachment field.
| | * Add missing PHPDoc typesHaralan Dobrev2016-11-191-3/+3
| | |
| | * Fix SlackRecordTestAnton Nizhegorodov2016-11-191-3/+2
| | |
| | * Refactor SlackRecordAnton Nizhegorodov2016-11-191-37/+47
| | |
| | * Update SlackHandler tests && allow SlackRecord formatter change after ↵Anton Nizhegorodov2016-11-194-5/+39
| | | | | | | | | | | | 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-192-4/+4
| | |
| | * Add more tests to SlackRecordTestAnton Nizhegorodov2016-11-191-0/+247
| | | | | | | | | | | | | | | Conflicts: - tests/Monolog/Handler/Slack/SlackRecordTest.php - merged the tests
| | * No need for extra json_encodeAnton Nizhegorodov2016-11-191-1/+1
| | |
| | * Add initial tests for SlackRecordHaralan Dobrev2016-11-191-0/+84
| | |
| | * 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-192-12/+21
| | |
| | * Adds new Slack handlers to the docsHaralan Dobrev2016-11-191-1/+3
| | |
| | * 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 pull request #887 from remicollet/travis-php71Jordi Boggiano2016-11-171-0/+1
| |\ | | | | | | enable 7.1 on travis
| | * enable 7.1 on travisRemi Collet2016-11-171-0/+1
| | |
* | | Merge pull request #893 from jaschweder/patch-1Jordi Boggiano2016-11-251-0/+1
|\ \ \ | | | | | | | | add MercurialProcessor to docs
| * | | add MercurialProcessor to docsJonathan André Schweder2016-11-251-0/+1
|/ / /
* | | Merge branch '1.x'Jordi Boggiano2016-11-170-0/+0
|\ \ \ | |/ /
| * | Fix PHP7.1 DateTime supportJordi Boggiano2016-11-172-2/+3
| |/
* | Merge branch '1.x'Jordi Boggiano2016-11-162-3/+7
|\ \ | |/
| * Make protected generic methods publicJulien Falque2016-11-162-3/+7
| |
* | Merge branch '1.x'Jordi Boggiano2016-11-152-1/+21
|\ \ | |/
| * CSJordi Boggiano2016-11-151-1/+1
| |
| * isolate fwrite to allow overrideJay MOULIN2016-11-151-1/+11
| |
| * Prepare 1.22 changelogJordi Boggiano2016-11-131-0/+10
| |
* | Fix microseconds support on 7.1, and enable it by default as 7.1 has no perf ↵Jordi Boggiano2016-11-144-8/+16
| | | | | | | | cost anymore
* | Fix UdpSocket testsJordi Boggiano2016-11-141-1/+1
| |
* | Merge pull request #879 from martijncalker/add-sqshandlerJordi Boggiano2016-11-142-0/+54
|\ \ | | | | | | Add SqsHandler
| * | Tiny wording fixJordi Boggiano2016-11-141-1/+1
| | |
| * | Add SqsHandlerMartijn van Calker2016-11-142-0/+54
| | |
* | | 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-133-0/+93
|\ \ \ \ | | | | | | | | | | Added the NoopHandler.
| * | | | removed unused data provider in testRoel Harbers2016-10-121-10/+0
| | | | |
| * | | | Added the NoopHandler.Roel Harbers2016-10-123-0/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-135-6/+51
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Add a RollbarHandler::flush() and make it close automatically on shutdown, ↵Jordi Boggiano2016-11-131-4/+17
| | | | | | | | | | | | | | | | | | | | fixes #864, closes #865
| * | | | Optimize removal of leftover extra/context placeholders, refs #866Jordi Boggiano2016-11-131-3/+5
| | | | |
| * | | | Merge pull request #866 from p-golovin/patch-1Jordi Boggiano2016-11-131-0/+4
| |\ \ \ \ | | | | | | | | | | | | Remove substitution for not defined variables
| | * | | | Update LineFormatter.phpPavel Golovin2016-10-101-2/+2
| | | | | |
| | * | | | Remove substitution for not defined variablesPavel Golovin2016-10-101-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 #874Jordi Boggiano2016-11-131-1/+1
| | | | | |
| * | | | | Merge pull request #870 from tucksaun/fix-raven-handler-picking-wrong-eventJordi Boggiano2016-11-132-1/+27
| |\ \ \ \ \ | | |/ / / / | |/| | | | Make the RavenHandler picks the first highest record as main
| | * | | | Make the RavenHandler picks the first highest record as mainTugdual Saunier2016-10-132-1/+27
| |/ / / /
* | | | | Merge pull request #872 from riccardomessineo/masterJordi Boggiano2016-11-131-2/+3
|\ \ \ \ \ | | | | | | | | | | | | SlackHandler, new parameter $printSimpleMessage
| * | | | | New parameter $printSimpleMessage default false (Whether the attachment ↵Riccardo Messineo2016-10-181-2/+3
| | |/ / / | |/| | | | | | | | | | | | | should include only the message without extradata)
* | | | | Cache version_compare call, refs #884Jordi Boggiano2016-11-131-3/+13
| | | | |
* | | | | Merge pull request #884 from nikolaposa/fix/mongodb-formatter-dateJordi Boggiano2016-11-131-0/+20
|\ \ \ \ \ | | | | | | | | | | | | Fixing date/time formatting in MongoDBFormatter
| * | | | | Fixing date/time formatting in MongoDBFormatter.Nikola Posa2016-11-101-0/+20
| | | | | |
* | | | | | Fix Redis test failuresJordi Boggiano2016-11-131-0/+12
| | | | | |
* | | | | | Merge pull request #880 from siwinski/pr-fix-test-for-sentry-gte-0-16-0Jordi Boggiano2016-11-132-2/+34
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix tests for sentry/sentry >= 0.16.0 (and < 1.0)
| * | | | | | Fix tests for sentry/sentry >= 0.16.0 (and < 1.0)Shawn Iwinski2016-11-062-2/+34
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From composer.json: `"sentry/sentry": "^0.13"` Latest 0.x `sentry/sentry`: 0.22.0 sentry/sentry 0.16.0 changed the function signature of Raven_Client::capture(): 0.16.0: `public function capture($data, $stack = null, $vars = null)` 0.15.0: `public function capture($data, $stack, $vars = null)` While the test suite silently passes with PHP < 7.1, running the test suite with PHP 7.1 fails with the following error: `Declaration of Monolog\Handler\MockRavenClient::capture($data, $stack, $vars = NULL) should be compatible with Raven_Client::capture($data, $stack = NULL, $vars = NULL)`
* | | | | | Cast toJson to string in case it returns false, fixes #878Jordi Boggiano2016-11-131-1/+1
| |/ / / / |/| | | |
* | | | | Merge pull request #881 from aryeguy/patch-1Jordi Boggiano2016-11-071-3/+2
|\ \ \ \ \ | |/ / / / |/| | | | Added return type annotation
| * | | | Use type hints instead of phpdocJordi Boggiano2016-11-071-5/+2
| | | | |
| * | | | Added return type annotationGuy Arye2016-11-071-0/+2
|/ / / /
* | | | Merge pull request #876 from jeroenseegers/patch-1Jordi Boggiano2016-10-311-1/+1
|\ \ \ \ | |/ / / |/| | | Minimum required PHP version in README
| * | | Point users to older release to avoid confusion on the default READMEJordi Boggiano2016-10-311-1/+1
| | | |
| * | | Minimum required PHP version in READMEJeroen Seegers2016-10-311-1/+1
|/ / / | | | | | | | | | | | | Updated the minimum required PHP version in README from 5.3 to 7.0 as detailed in `composer.json`. Fixes #873
* | | Merge pull request #861 from merorafael/patch-1Jordi Boggiano2016-10-041-0/+1
|\ \ \ | | | | | | | | Added Yii2 component on README.mdown
| * | | Update README.mdownRafael Mello2016-10-031-0/+1
|/ / / | | | | | | Added Yii2 plugin
* | | Merge branch '1.x'Jordi Boggiano2016-10-032-1/+19
|\ \ \ | |/ /
| * | Add total amount of items when aborting traversable normalizationJordi Boggiano2016-10-032-1/+19
| | |
* | | Merge branch '1.x'Jordi Boggiano2016-09-291-0/+4
|\ \ \ | |/ /
| * | Add support for consumed generators in NormalizerFormatter, fixes #838Jordi Boggiano2016-09-291-0/+4
| | |
* | | Merge branch '1.x'Jordi Boggiano2016-09-293-8/+30
|\ \ \ | |/ /
| * | Make sure MercurialProcessor fails gracefullyJordi Boggiano2016-09-291-4/+8
| | |
| * | Add support for AWS SDK v3Jordi Boggiano2016-09-292-4/+22
| | |
* | | Skip phan errorJordi Boggiano2016-09-291-0/+2
| | |
* | | Add missing export-ignore, refs #856Jordi Boggiano2016-09-261-1/+1
| | |
* | | Fix type errors, thanks phanJordi Boggiano2016-09-2516-68/+56
| | |
* | | Make use of random_bytes for better uniquenessJordi Boggiano2016-09-251-1/+1
| | |
* | | Add scalar types to processor/formatters and top level classesJordi Boggiano2016-09-2529-196/+130
| | |