1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-22 22:12:41 +01:00

1148 Commits

Author SHA1 Message Date
Jordi Boggiano
1065abe1f7 Merge pull request #552 from JeroenDeDauw/deadvar
Remove dead varialble
2015-04-30 18:29:05 +01:00
Jordi Boggiano
0fb7e2fa1e Merge pull request #548 from breda/master
Removed a small code duplication, and added Logger::toMonologLevel() tests.
2015-04-30 18:28:50 +01:00
jeroendedauw
f8f6615887 Remopve dead varialble
This makes it more obvious that this test is not actually doing much
2015-04-27 01:53:56 +02:00
Reda Bouchaala
2cb4a57490 Removed Logger::toMonologLevel() code duplication and added relevant tests 2015-04-25 19:42:19 +01:00
Jordi Boggiano
d84ba2cb20 Merge pull request #547 from CarsonF/redis-handler-docblock
Updated RedisHandler constructor's docblock
2015-04-25 11:55:55 +01:00
Carson Full
5037d264b1 Updated RedisHandler constructor's docblock 2015-04-24 16:34:56 -05:00
Jordi Boggiano
aa90882a38 Merge pull request #544 from jeroenvdgulik/master
Added Lumen to list of supported frameworks
2015-04-23 15:22:42 +01:00
Jordi Boggiano
4f36b83738 Merge pull request #539 from djsipe/djsipe-pushover
Allow use of formatted message in PushoverHandler
2015-04-23 15:22:29 +01:00
Jordi Boggiano
6d10786e82 Merge pull request #533 from barbushin/php-console-handler
Add PHPConsoleHandler to debug in Google Chrome
2015-04-23 15:19:59 +01:00
barbushin
1c20abf2c6 Refactoring regarding Monolog authors requirements 2015-04-19 06:23:38 +08:00
Jeroen v.d. Gulik
7ef071f731 Added Lumen to list of supported frameworks
Signed-off-by: Jeroen v.d. Gulik <jeroen@isset.nl>
2015-04-16 16:08:16 +02:00
Jordi Boggiano
03fc68ca14 Merge pull request #542 from ZhukV/master
Optimize replace new lines for LineFormatter
2015-04-15 19:23:25 +01:00
Vitaliy Zhuk
1a14403060 Optimize replace new lines 2015-04-15 11:15:37 +03:00
DJ Sipe
c141ff3ee7 Update type cast to use boolean 2015-04-09 16:32:29 -04:00
DJ Sipe
5a00504b08 Allow use of formatted message
This change allows you to use the "formatted" index from your formatter.  This is helpful if you want to create a formatter that would include *some* context information beyond the message itself.

Since the default `LineFormatter` would be too verbose, I added a `useFormattedMessage()` method that accepts a boolean and would turn the use of the formatter on or off. This way, if you want to use a custom formatter, you can enable the functionality...but it will still work the same out of the box otherwise with just the message getting sent to Pushover.
2015-04-09 15:58:16 -04:00
Jordi Boggiano
a54d460500 Merge pull request #529 from rtuin/feature/extend-test-handler
Add strpos based TestHandler methods
2015-04-04 11:50:52 +01:00
Jordi Boggiano
875cfb91e1 Merge pull request #534 from rantonmattei/loggly-handler-curl
Added exception raised when a curl error occurs.
2015-03-31 22:43:29 +01:00
Raphael Antonmattei
56dcd1a668 Added exception raised when there is a curl error. 2015-03-31 17:37:03 -04:00
barbushin
cd90150c24 Add PHPConsoleHandler to debug in Google Chrome
Integrates Monolog with very popular Google Chrome extension "PHP Console" https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef and server library https://github.com/barbushin/php-console. PHPConsoleHandler and "PHP Console" server library code are 100% covered by tests.
2015-03-30 23:47:09 +08:00
Jordi Boggiano
df7da8a555 Merge pull request #531 from chadburrus/patch-1
update copyright date to 2015
2015-03-26 18:30:54 +00:00
Chad Burrus
035291f809 update copyright date to 2015 2015-03-26 12:48:42 -04:00
Richard Tuin
b63e013827 Add strpos based TestHandler methods 2015-03-18 07:34:38 +01:00
Jordi Boggiano
c31a2c4e8d Update changelog 1.13.1 2015-03-09 09:58:04 +00:00
Jordi Boggiano
d809f576bb Revert "Switch HipChatHandler to API v2", fixes #525
This reverts commit 01549ec4d05e2d3f33227531d9fc9454d5ef6049.
2015-03-09 09:57:01 +00:00
Jordi Boggiano
caa3145a14 Merge pull request #524 from pborreli/typos-2
Fixed typos
2015-03-05 01:23:59 +00:00
Jordi Boggiano
c41c218e23 Prepare 1.13 release 1.13.0 2015-03-05 01:12:12 +00:00
Pascal Borreli
a2c6c37c8d Fixed typos 2015-03-05 01:11:15 +00:00
Jordi Boggiano
d434bb4794 Add INF/NaN normalization, fixes #523 2015-03-05 00:57:49 +00:00
Jordi Boggiano
4a794ed5f8 Add BC layer for the message property, refs #519 2015-03-05 00:52:15 +00:00
Jordi Boggiano
50b6a4d216 Add docs 2015-03-05 00:51:38 +00:00
Jordi Boggiano
63eb878d97 Merge remote-tracking branch 'johnkary/dynamicSwiftMessage' 2015-03-05 00:41:08 +00:00
Jordi Boggiano
4b6c798f9c Merge pull request #522 from elyobo/consistent-fluent-return-values
Return self from NativeMailerHandler::addHeader().
2015-03-04 17:56:10 +00:00
Jordi Boggiano
6469e29020 Merge pull request #521 from elyobo/additional-parameters
Allow passing additional parameters to PHP's mail().
2015-03-04 11:37:13 +00:00
Jordi Boggiano
bd611713ed Merge pull request #520 from StephenHynes7/change-logentries-endpoint
Use data.logentries.com and port 443 instead of api
2015-03-03 19:26:21 +00:00
John Kary
fea588c055 Swift_Message can now be customized based on logged data 2015-03-02 22:51:57 -06:00
Liam O'Boyle
c373cfbc30 Allow passing additional parameters to PHP's mail().
PHP's mail() function accepts an optional additional_parameters argument
which can be used to provide additional information, such as setting the
envelope sender, for some MTAs.  This patch allows the
NativeMailerHandler to pass these through.
2015-03-03 11:55:04 +11:00
Liam O'Boyle
42ea303cfe Return self from NativeMailerHandler::addHeader().
NativeMailerHandler::setContentType() and NativeMailerHandler::setEncoding()
both return the NativeMailerHandler object, allowing a fluent coding
style.  This fix adds the same behaviour to NativeMailerHandler::addHeader()
for so that all public non-inherited methods behave this way for
consistency.
2015-03-03 11:50:22 +11:00
Stephen Hynes
7483b1ee2e Use data.logentries.com and port 443 instead of api 2015-03-02 14:54:25 +00:00
John Kary
f5eaeeb144 Swift_Message creation is now lazy when using callback
Swift_Message object is not created until right before the message is
sent, if it is sent at all. This prevents the expensive Swift_Mailer
autoloader from being invoked.

Swift_Mailer is now also required to run test suite
2015-03-01 20:03:39 -06:00
Jordi Boggiano
1b34cd4d88 Rename var for clarity 2015-03-01 15:07:20 +00:00
Jordi Boggiano
995a61bec8 CS fixes 2015-03-01 14:12:35 +00:00
Jordi Boggiano
951f024bfb Add test script 2015-03-01 14:02:02 +00:00
Jordi Boggiano
5cd99de56d Accept incomplete records in GelfMessageFormatter, closes #482 2015-03-01 13:59:22 +00:00
Jordi Boggiano
7532c41621 Merge pull request #517 from xabbuh/update-docblock
[HipChatHandler] fix PHP types in docblocks
2015-03-01 12:40:18 +00:00
Christian Flothmann
f89722b570 [HipChatHandler] fix PHP types in docblocks 2015-03-01 10:19:33 +01:00
Jordi Boggiano
d0e5a69331 Merge pull request #504 from korchasa/master
Switch HipChatHandler to API v2
2015-02-28 21:41:06 +00:00
Jordi Boggiano
981f2445f7 Merge pull request #515 from smazurov/patch-1
Added overwriting of user context to RavenHandler
2015-02-28 21:21:16 +00:00
Stepan Mazurov
c1fd9cddf2 Added overwriting of user context to RavenHandler 2015-02-27 16:43:19 -07:00
Jordi Boggiano
bba433ac38 Add php7 to travis 2015-02-25 16:48:53 +00:00
Jordi Boggiano
ab3d7c4898 Remove useless functional test 2015-02-25 16:48:51 +00:00