Skip to content

Commit 4a14e24

Browse files
authored
MAGECLOUD-6029: Implement New Relic Logs in Context (magento#48)
1 parent f32f66b commit 4a14e24

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

patches.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@
274274
},
275275
"monolog/monolog": {
276276
"Fix monolog Slack Handler bug for magento 2.1.x": {
277-
"1.16.0": "MAGECLOUD-2793__fix_monolog_slack_handler_2.1.x.patch"
277+
"1.16.0": "MAGECLOUD-2793__fix_monolog_slack_handler_2.1.x.patch",
278+
">=1.16.0 <1.24.0": "MAGECLOUD-6029__add_processor_interface_2.1.x.patch"
278279
}
279280
},
280281
"colinmollenhour/cache-backend-redis": {
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
diff -Naur a/vendor/monolog/monolog/src/Monolog/Processor/ProcessorInterface.php b/vendor/monolog/monolog/src/Monolog/Processor/ProcessorInterface.php
2+
--- /dev/null
3+
+++ b/vendor/monolog/monolog/src/Monolog/Processor/ProcessorInterface.php
4+
@@ -0,0 +1,25 @@
5+
+<?php
6+
+
7+
+/*
8+
+ * This file is part of the Monolog package.
9+
+ *
10+
+ * (c) Jordi Boggiano <[email protected]>
11+
+ *
12+
+ * For the full copyright and license information, please view the LICENSE
13+
+ * file that was distributed with this source code.
14+
+ */
15+
+
16+
+namespace Monolog\Processor;
17+
+
18+
+/**
19+
+ * An optional interface to allow labelling Monolog processors.
20+
+ *
21+
+ * @author Nicolas Grekas <[email protected]>
22+
+ */
23+
+interface ProcessorInterface
24+
+{
25+
+ /**
26+
+ * @return array The processed records
27+
+ */
28+
+ public function __invoke(array $records);
29+
+}

0 commit comments

Comments
 (0)