1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-03 11:47:38 +02:00

18 Commits

Author SHA1 Message Date
Jordi Boggiano
4e19f3c585 Merge branch '1.x' 2019-11-13 10:58:42 +01:00
Mario Blažek
37900f9268 Upgrade PHPUnit to v8 2019-08-12 15:20:00 +02:00
George Mponos
ee350961da Remove assertInternalType that it is deprecated 2018-12-16 23:46:26 +02:00
Jordi Boggiano
3175130061 Merge branch '1.x' 2018-06-17 18:04:17 +02:00
Jordi Boggiano
00aca28c8b Fix SlackRecord normalization of fields, closes #1078 2018-06-17 18:03:59 +02:00
Jordi Boggiano
9a2c747a0a Merge branch '1.x' 2018-06-07 18:30:00 +02:00
George Mponos
68e39bd84f Add a record with an object as context 2018-06-07 18:28:45 +02:00
Jordi Boggiano
3c74c7a8d2 Fix tests 2017-03-20 11:12:52 +01:00
Jordi Boggiano
7405bb5d67 CS fixes 2017-03-20 10:56:47 +01:00
Jordi Boggiano
efb3fa354c Merge branch '1.x' 2016-12-16 08:47:02 +01:00
Anton Nizhegorodov
b732364e70 Slack improvements (#894)
- [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
2016-12-13 15:25:55 +01:00
Jordi Boggiano
5d28746bb0 Fix tests 2016-11-26 01:38:50 +01:00
Haralan Dobrev
26b526d9fb Do not put empty Slack attachments array by default 2016-11-19 18:54:46 +02:00
Anton Nizhegorodov
d34de6bf30 Fix SlackRecordTest 2016-11-19 18:53:02 +02:00
Anton Nizhegorodov
08b577c657 Update SlackHandler tests && allow SlackRecord formatter change after construction 2016-11-19 18:53:02 +02:00
Anton Nizhegorodov
4ab8ed0a53 Make sure extra/context variables are stringified when more than one level deep 2016-11-19 18:53:01 +02:00
Anton Nizhegorodov
ec75076ded Add more tests to SlackRecordTest
Conflicts:
- tests/Monolog/Handler/Slack/SlackRecordTest.php - merged the tests
2016-11-19 18:53:01 +02:00
Haralan Dobrev
7c2f58e7aa Add initial tests for SlackRecord 2016-11-19 18:53:01 +02:00