We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a39e37f commit 95b2c36Copy full SHA for 95b2c36
app/code/Magento/NewRelicReporting/Model/NewRelicWrapper.php
@@ -41,6 +41,19 @@ public function reportError($exception)
41
}
42
43
44
+ /**
45
+ * Wrapper for 'newrelic_set_appname'
46
+ *
47
+ * @param string $appName
48
+ * @return void
49
+ */
50
+ public function setAppName($appName)
51
+ {
52
+ if (extension_loaded('newrelic')) {
53
+ newrelic_set_appname($appName);
54
+ }
55
56
+
57
/**
58
* Checks whether newrelic-php5 agent is installed
59
*
0 commit comments