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

20 Commits

Author SHA1 Message Date
Jordi Boggiano
06143b03e5 Add a bunch of return types and fix type inconsistencies reports from phan 2018-07-04 14:14:08 +02:00
Jordi Boggiano
41b8f5ebf4 CS fixes 2018-06-18 18:53:46 +02:00
Jordi Boggiano
5d286c1cb9 Merge pull request #1164 from gmponos/slack_formatter_constructor
Remove from slack handler on constructing the SlackRecord to pass the Formatte
2018-06-17 18:19:09 +02:00
George Mponos
11b664d276 Fix constructor of slack 2018-06-08 20:30:09 +03:00
Jordi Boggiano
3319969e80 Merge branch '1.x' 2018-06-07 17:49:12 +02:00
MilesChou
18b93feea6 Add getter for webhook url in SlackWebhookHandler class
Add getter so that the subclass can easy to inherit SlackWebhookHandler class
2017-11-30 13:47:54 +08:00
Jordi Boggiano
f8248dba5d Merge branch '1.x' 2017-06-19 03:15:19 +02:00
Jordi Boggiano
d6be96bc3c Fix 5.3 support 2017-06-19 03:13:01 +02:00
Jordi Boggiano
1417e2d183 Merge branch '1.x' 2017-06-19 02:16:33 +02:00
Harm Bandstra
4260b46760 SlackWebhookHandler: refactor curl_setopt to curl_setopt_array 2017-06-19 02:13:06 +02:00
Harm Bandstra
52d9096b14 Explicitly set content-type header, and post JSON as body 2017-06-19 02:12:59 +02: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
24ad4b02b6 More interface updates 2016-11-27 11:28:44 +01:00
Jordi Boggiano
b154c5fd26 Interface updates 2016-11-27 11:26:51 +01:00
Haralan Dobrev
8b2b13546e Format constructors on a single line
This is for consistency with the rest of the handlers.
2016-11-19 18:53:03 +02:00
Anton Nizhegorodov
506e1b99e4 Make message formatting behaviour same as previous version 2016-11-19 18:53:02 +02:00
Haralan Dobrev
862c0875d2 Expose a getter for the SlackRecord in Slack handlers 2016-11-19 18:53:01 +02:00
Haralan Dobrev
4b671eb82c Add a Slack Webhooks handler using the same SlackRecord util 2016-11-19 18:53:00 +02:00