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

1401 Commits

Author SHA1 Message Date
Liam Le Brun
09861e1e47 Prevent Monolog from ever being introspected
Ensure the Monolog namespace is always ignored, and doesn't have to be defined in use.
2015-07-15 12:54:38 +01:00
Liam Le Brun
ac8afbf9a9 Ignore "call_user_func" from debug backtrace
Helps make this compliant where there is no class defined
2015-07-15 12:48:57 +01:00
William Johnston
3fa5b2f36d Create directory on initial log write rather than class instantiation. 2015-07-14 13:19:53 -05:00
Jordi Boggiano
c5b08724f4 Merge pull request #605 from localheinz/fix/docblock
Fix: Type should be bool
2015-07-14 10:27:59 +01:00
Jordi Boggiano
0ea238bd45 Merge pull request #604 from localheinz/fix/undefined-class
Fix: Use FQCNs for exceptions in docblock, too
2015-07-14 10:27:47 +01:00
Jordi Boggiano
ca1376bd61 CS fixes 2015-07-14 10:26:05 +01:00
Jordi Boggiano
cf6fa57dd4 Merge pull request #602 from ninjapenguin/add-redis-apped-collection
Adds ability to cap log size in redis
2015-07-14 09:02:00 +01:00
Andreas Möller
462ffe495a Enhancement: Rename parameter 2015-07-13 22:10:37 -04:00
Andreas Möller
a88d24ef45 Fix: Type should be boolean 2015-07-13 22:10:11 -04:00
Andreas Möller
ebda097b23 Fix: Use FQCNs for exceptions in docblocks, too 2015-07-13 22:07:15 -04:00
Matt Wells
12711d133a Switch back to using rpush
Switches back to rpush to keep list order consistent with non capped
collections
2015-07-13 19:40:51 +01:00
Jordi Boggiano
328d66f13f Fix support for associative tag arrays, refs #588 2015-07-13 11:06:01 +01:00
Matt Wells
ae2b2d0de1 fixes reference for 5.3 in predis callback 2015-07-12 19:28:05 +01:00
Matt Wells
4d59281868 Fixes 5.3 compatibility in test cases 2015-07-12 19:21:53 +01:00
Matt Wells
050694291e Adds ability to cap log size in redis
100% backward compatible, defaults to not capping collection size.

Additional constructor param of $capSize added which will ensure logs
list is treated as a FILO queue

Test coverage on new functionality
2015-07-12 17:26:16 +01:00
Jordi Boggiano
dc5150cc60 Update changelog 1.15.0 2015-07-12 14:54:09 +01:00
Jordi Boggiano
04867228d7 Bump target version 2015-07-12 14:40:17 +01:00
Jordi Boggiano
e92a8823c0 Migrate the curl retry functionality into a util class for re-use, refs #599 2015-07-12 14:40:07 +01:00
Jordi Boggiano
1edc7d9cc9 Merge remote-tracking branch 'psquickitjayant/master' 2015-07-12 14:12:27 +01:00
Jordi Boggiano
bfe5081735 Fix idiotic sunday 2015-07-12 14:05:44 +01:00
Jordi Boggiano
558678b420 Adjust check for php5.3/5.4 2015-07-12 14:01:43 +01:00
Jordi Boggiano
0c8a92af47 Throw exception when json encoding fails and errors are not ignored, fixes #545 2015-07-12 13:44:48 +01:00
Jordi Boggiano
9e342cb750 Fix escaping in BrowserConsoleHandler, fixes #537 2015-07-12 12:38:40 +01:00
Jordi Boggiano
66532794b0 Add TagProcessor::addTags and TagProcessor::setTags, fixes #588 2015-07-12 11:55:38 +01:00
Jordi Boggiano
b941eac988 Improve php7 compat (Throwable is the new base type for all exceptions, so Exception is not wide enough) 2015-07-12 11:55:11 +01:00
Jordi Boggiano
2dc16dd802 Avoid issues with ErrorHandler being used in test suite 2015-07-12 11:54:49 +01:00
Jordi Boggiano
6d9062594c Exit with correct code after handling an uncaught exception, fixes #592 2015-07-12 11:36:03 +01:00
Jordi Boggiano
5946647547 Fix the build 2015-07-12 11:26:49 +01:00
Jordi Boggiano
b09370b13a Skip invalid windows tests 2015-07-12 11:24:20 +01:00
Jordi Boggiano
d17cf064af Make sure flowdock handler is configured correctly, fixes #597 2015-07-12 11:21:03 +01:00
Jordi Boggiano
43affa31c3 Merge pull request #601 from Xosofox/patch-1
Fix link to seperate readme
2015-07-12 10:55:50 +01:00
Peter Dietrich
525ed89ce3 Fix link to seperate readme 2015-07-09 14:49:13 +02:00
psquickitjayant
f17e5a6ec3 Fixed formatting issues 2015-07-08 02:35:47 +05:30
psquickitjayant
f258a2ed29 Added support for retry logic 2015-07-07 21:55:03 +05:30
Jordi Boggiano
6dd76b944d Merge pull request #584 from dominikzogg/fixmissingdirectory
stream handler creates a directory if its possible
2015-07-05 22:09:41 +01:00
Dominik Zogg
fe12c5278f stream handler creates a directory if its possible 2015-07-05 12:09:12 +00:00
Jordi Boggiano
ceeb33f521 Merge pull request #595 from staabm/patch-2
Simplify MemoryUsageProcessor
2015-06-30 23:26:19 +01:00
Markus Staab
b0e7c7097f Simplify MemoryUsageProcessor
Analog https://github.com/Seldaek/monolog/pull/594/files
2015-06-30 14:34:01 +02:00
Jordi Boggiano
983392dbcb Merge pull request #594 from nike-17/patch-2
Update MemoryPeakUsageProcessor.php
2015-06-30 12:34:34 +01:00
Nikita
e26175d88a Update MemoryPeakUsageProcessor.php
more simple implementation
2015-06-29 15:15:06 -05:00
Jordi Boggiano
cc145b85fe Merge pull request #585 from daniel-adlantic/master
Add support for Javascript output in BrowserConsoleHandler
2015-06-22 18:09:57 +01:00
Daniel Blok
e71ccdeb68 spelling 2015-06-22 15:48:06 +02:00
Daniel Blok
f856456b3d Add support for Javascript output in BrowserConsoleHandler 2015-06-22 15:31:01 +02:00
Jordi Boggiano
49f95a2d63 Merge pull request #583 from austinhyde/testhandler-improvements
TestHandler improvements
2015-06-21 05:39:17 +01:00
Austin Hyde
f2fea2c3f5 Add TestHandler::hasRecordThatMatches($regex, $level) 2015-06-20 19:41:52 -04:00
Austin Hyde
3e8f0ecb36 Replace boilerplate with magic methods 2015-06-20 19:39:06 -04:00
Austin Hyde
202d3750d6 Move record searching to its own method: hasRecordThatPasses() 2015-06-20 19:24:29 -04:00
Austin Hyde
29da1d8e77 Add a message to assertions to know which ones fail 2015-06-20 19:14:33 -04:00
Jordi Boggiano
9232d07b10 Fix link 2015-06-19 17:48:33 +01:00
Jordi Boggiano
722d421640 Docs tweaks 2015-06-19 15:06:20 +01:00