1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-17 18:36:32 +02:00

2648 Commits

Author SHA1 Message Date
Jordi Boggiano
35c07a81de Merge pull request #979 from Aliance/patch-1
Update JsonFormatter PHPDoc.
2017-05-03 15:17:21 +02:00
Lesnykh Ilia
6696e045df Update JsonFormatter.php 2017-05-03 15:37:25 +03:00
Jordi Boggiano
4cdd014b80 Merge pull request #967 from enleur/gelf-max-length
Gelf max length
2017-04-10 09:58:43 +02:00
Jordi Boggiano
1b660bbbee Remove constant from constructor 2017-04-10 09:37:23 +02:00
Enleur
faed450d52 Use GELF max length per field and make max length configurable in constructor 2017-04-07 13:49:54 +03:00
Jordi Boggiano
35c84c5b6f Merge pull request #965 from Sam-Burns/fix-build
Fix build
2017-04-04 00:04:57 +02:00
Sam-Burns
ed6f071284 Allowing PHP 'nightly' build to fail, because it is seg faulting while running Composer 2017-04-01 22:05:07 +01:00
Sam-Burns
fa5d07f86f Skipping DateTime microsecond test in PHP 7.1.3, because of https://bugs.php.net/bug.php?id=74258 2017-04-01 21:52:18 +01:00
Benjamin Pentzold
26c7de1e51 map loglevel (int-value) to log-message, as well 2017-03-28 16:04:50 +02:00
Chris Forrence
763c3afb32 Split expectException calls with two parameters into the proper two calls 2017-03-21 10:29:05 -04:00
Chris Forrence
85250d3c72 Replace deprecated setExpectedException methods with expectException 2017-03-21 10:14:16 -04:00
Jordi Boggiano
59355d5ce3 Merge branch '1.x' 2017-03-20 11:21:38 +01:00
Jordi Boggiano
3266b6e257 Fix test moar 2017-03-20 11:21:06 +01:00
Jordi Boggiano
3c74c7a8d2 Fix tests 2017-03-20 11:12:52 +01:00
Jordi Boggiano
ca17a62db2 Merge branch '1.x' 2017-03-20 11:05:06 +01:00
Jordi Boggiano
e4774920ff Fix test class 2017-03-20 11:04:39 +01:00
Jordi Boggiano
7405bb5d67 CS fixes 2017-03-20 10:56:47 +01:00
Jordi Boggiano
9a11094c66 Merge branch '1.x' 2017-03-20 10:22:23 +01:00
Jordi Boggiano
fb751dff33 Remove return annotations 2017-03-20 10:18:43 +01:00
Jordi Boggiano
c192b1a373 Remove strict types from test suite 2017-03-20 10:15:03 +01:00
Jordi Boggiano
5e3be010d0 Make sure we use \Throwable and not just \Exception 2017-03-20 10:14:03 +01:00
Jordi Boggiano
b9256e99b6 Merge branch '1.x' 2017-03-20 10:11:48 +01:00
Jordi Boggiano
3b1f98df2a Fix 5.3 support 2017-03-20 10:07:14 +01:00
Erik Johansson
81e8bf6189 Add level parameter to payload when reporting Rollbar exceptions (#852) 2017-03-20 10:04:18 +01:00
Jordi Boggiano
4f5f6abd77 Merge pull request #948 from knugen/master
Add level parameter to payload when reporting Rollbar exceptions (#852)
2017-03-20 10:02:49 +01:00
Erik Johansson
b1b27d8a44 Add level parameter to payload when reporting Rollbar exceptions (#852) 2017-03-19 00:49:00 +01:00
Jordi Boggiano
d9462d50b0 Merge pull request #936 from zerkms/MICRO_OPT_FOREACH_INSTEAD_OF_CURRENT/NEXT
Replaced current/next-style loop with foreach
2017-03-17 23:08:00 +01:00
Jordi Boggiano
59d3df2f38 Add comment note for clarity 2017-03-17 23:07:49 +01:00
Jordi Boggiano
772a470c1a Merge branch '1.x' 2017-03-17 23:01:57 +01:00
Jordi Boggiano
25da38373a Split off work into a new method to facilitate extension, fixes #945 2017-03-17 22:58:02 +01:00
Jordi Boggiano
e481c9db10 Merge pull request #943 from ont/1.x
Complete rfc5424 header for SyslogUdpHandler
2017-03-17 22:57:35 +01:00
Jordi Boggiano
24894709d1 Fix tests 2017-03-17 22:54:56 +01:00
Jordi Boggiano
aeb65fa050 Fix BC break and formatting 2017-03-17 22:52:50 +01:00
ont
8c40211c3f Fix array syntax for Travis CI 2017-03-15 12:00:44 +07:00
ont
aa6e88b6de Complete rfc5424 header for SyslogUdpHandler
WARN: this commit adds backward incompatibility for the SyslogUdpHandler
constructor.
2017-03-15 00:57:06 +07:00
Piers Warmers
a0406bf8dd Handle DateTime objects in formatted messages (#940)
* Handle DateTime objects in formatted meessages

* Use interface to catch both DateTime and DateTimeImmutable

* Maintain formatting standards.

* Visibility to private.
2017-03-14 08:07:57 +01:00
Jordi Boggiano
f3dda67c09 Merge branch '1.x' 2017-03-13 08:08:24 +01:00
Jordi Boggiano
1e044bc4b3 Update changelog for 1.22.1, fixes #918 1.22.1 2017-03-13 08:08:03 +01:00
Jordi Boggiano
1584a90c48 Fix 5.3 support 2017-03-13 08:02:29 +01:00
Ivan Kurnosov
c411ad174c Changed the "rewind loop condition" operand
The `$handlerKey` might be a slightly more readable choice here
2017-03-13 09:06:46 +13:00
Jordi Boggiano
4f0c07af69 Merge branch '1.x' 2017-03-12 18:18:46 +01:00
Jordi Boggiano
821cc3e4a5 Backport fix for #752, fixes #925 2017-03-12 18:17:37 +01:00
William Skates
8f7f755ed6 Correcting a small spelling mistake in README.md (#938) 2017-03-12 18:14:17 +01:00
Ivan Kurnosov
f697ec7c96 Move human readable level name resolution in Logger::addRecord() to as late as possible (#934) 2017-03-12 17:51:16 +01:00
Tim Strijdhorst
e6b05c9173 Allow to set custom event_id [LEGACY] (#930)
* +allow to set a custom event_id as an extra parameter instead of letting Raven generate a UUIDv4

* +CS

* +CS

* +verbose array syntax because of PHP 5.3 support
2017-03-12 17:46:54 +01:00
fabriceparallel
cc5f1eb34d Php5.3 autoload errors (#929)
* make ErrorHandler extends LogLevel to avoid autoloading issue when error is triggered on compile

* Revert "make ErrorHandler extends LogLevel to avoid autoloading issue when error is triggered on compile"

This reverts commit 8140f6026f.

* call class_exists with force autoload set to true, to force the autoload of LogLevel on registration of the handlers
2017-03-12 17:42:12 +01:00
Níckolas Daniel da Silva
7dd45ac6bf Improves code coverage (#926)
* 100% coverage on ErrorHandler::codeToString
* 100% coverage on ErrorHandler::registerFatalHandler
* fix typo
* covers ErrorHandler::register() and left conditions on purpose
* 100% coverage on ErrorHandler::registerErrorHandler()
* 100% coverage on ErrorHandler::registerExceptionHandler()
* Checks for possible interface breaking changes
* 100% coverage on ErrorHandler::codeToString
100% coverage on ErrorHandler::registerFatalHandler
covers ErrorHandler::register() and left conditions on purpose
100% coverage on ErrorHandler::registerErrorHandler()
100% coverage on ErrorHandler::registerExceptionHandler()
2017-03-12 17:27:35 +01:00
Guillaume Polaert
908960d30b Logmatic fix (#914)
* Adding the marker field to improve the Logmatic.io compatibilty
2017-03-12 17:13:04 +01:00
Jordi Boggiano
c7776bba2b Merge pull request #937 from ka7/feature/spelling
spelling fixes (comments, text)
2017-03-02 11:36:31 +01:00
klemens
722796ab4d spelling fixes (comments, text) 2017-02-27 23:38:55 +01:00