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

1176 Commits

Author SHA1 Message Date
Jordi Boggiano
131b27d113 Update test for 5.4/5.3 2015-06-01 22:33:28 +01:00
Jordi Boggiano
b1afe75df9 Bump elastica require 2015-06-01 22:27:40 +01:00
Jordi Boggiano
81e91932bf Merge pull request #557 from barchard/patch-1
Update LogglyHandler.php
2015-06-01 22:12:22 +01:00
Jordi Boggiano
8dbc563310 Merge pull request #541 from smazurov/patch-2
made raven user context less destructive
2015-06-01 22:06:43 +01:00
Jordi Boggiano
5e8a259221 Merge pull request #568 from OskarStark/patch-1
make installation section more prominent
2015-06-01 21:43:04 +01:00
Jordi Boggiano
1a1f506f0e Fix up #546 to json serialize correctly 2015-06-01 21:42:42 +01:00
Jordi Boggiano
cbf17236e6 Merge remote-tracking branch 'draev/patch-1' 2015-06-01 21:32:03 +01:00
Jordi Boggiano
8c4b1be4a2 Change Logger::setTimezone to accept a DateTimeZone object, refs #566 2015-06-01 21:15:07 +01:00
Jordi Boggiano
40f676b0d0 Merge remote-tracking branch 'bd808/set-timezone' 2015-06-01 21:10:20 +01:00
Oskar Stark
cba4cf6dae make installation section more prominent 2015-05-27 17:21:14 +02:00
Bryan Davis
5d7db08106 Add Logger::setTimezone()
Add a setter method to allow changing the timezone used when creating
new log records. This provides a means to correct a behavioral change
introduced by 6cbdc04 where use of the PHP runtime default timezone
provided by `date_default_timezone_get()` was introduced. In most
environments the new default behavior is preferable, but if an
application allows the default timezone to vary between requests it
causes confusing log output.
2015-05-20 22:05:03 -06:00
Jordi Boggiano
bf2bff6174 Merge pull request #563 from rjkip/feature/psr-3-passthru
Allow PSR-3 passthru level in FingersCrossedHandler
2015-05-11 15:51:05 +01:00
Reinier Kip
162c30768d Allow PSR-3 passthru level in FingersCrossedHandler. 2015-05-11 13:26:40 +02:00
Jordi Boggiano
72123e3d6c Merge pull request #561 from rkrx/patch-1
Added self-referenced returns to get fluent interfaces
2015-05-09 18:17:49 +01:00
Ron Kirschler
657989dd22 Added self-referenced returns to get fluent interfaces for Monolog\Logger::pushProcessor and Monolog\Logger::pushHandler
For more information, look at the [comment in this file](8cb4d9237c/docs/index.md (combine-with-monolog)).
2015-05-07 21:39:48 +02:00
Jordi Boggiano
5202b35099 Fix logging of errors and above in PHPConsoleHandler, fixes #549 2015-05-05 18:26:17 +01:00
barchard
5bdba762da Update LogglyHandler.php
Updated to add an array_unique to ensure that tags are unique. For backwards compatibility, don't rename the protected property.
2015-05-05 13:24:47 -04:00
Jordi Boggiano
e968bd36e5 Merge pull request #553 from JeroenDeDauw/AmqpHandlerTest
Remove unused import in AmqpHandlerTest
2015-05-05 18:13:34 +01:00
Jordi Boggiano
dfb8411193 Merge pull request #558 from glensc/patch-1
Update Registry.php
2015-05-05 18:00:49 +01:00
Elan Ruusamäe
f97007f7c1 Update Registry.php
fix typo, slipped in 6779cf1e04a675412418f82df6d561a4179b86a8
2015-05-04 23:22:31 +03:00
barchard
808d3bd86b Update LogglyHandler.php
Add the ability to set multiple tags via a single call. Tags are now an array and imploded instead of appended. This prevents duplicate tags from being added.
2015-05-04 12:36:12 -04:00
Jordi Boggiano
97af2c7272 Merge pull request #556 from dseguy/fixecho
Saving some memory for echo.
2015-05-02 14:35:36 +01:00
Damien Seguy
0250fbe371 Remove concatenation 2015-05-02 15:24:12 +02:00
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
jeroendedauw
c4c7133a6d Remove unused import in AmqpHandlerTest 2015-04-27 01:50:40 +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
Dmitrii Raev
b1f2e2f5ec Change Test.. но __toString method called.. 2015-04-23 23:54:00 +03:00
Dmitrii Raev
57bd24da69 Fix jsonserializable behavior 2015-04-23 23:52:30 +03: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
Dmitrii Raev
ff4d9176d0 Update NormalizerFormatter.php
Some objects implement magic __toString method
Allow to print this kind of objects in the logger
2015-04-22 11:44:08 +03: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
Stepan Mazurov
09be78d62a made raven user context less destructive 2015-04-13 22:02:07 -06: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