Przeglądaj źródła

updated the documentation

Alessandro Nadalin 13 lat temu
rodzic
commit
33ea09eb6a

+ 1 - 0
README.mdown

@@ -134,6 +134,7 @@ Handlers
 - _RavenHandler_: Logs records to a [Sentry](http://getsentry.com/) server using
   [raven](https://packagist.org/packages/raven/raven).
 - _ZendMonitorHandler_: Logs records to the Zend Monitor present in Zend Server.
+- _NewRelicHandler_: Logs records to a [NewRelic](http://newrelic.com/) application.
 
 ### Logging in development
 

+ 2 - 0
nbproject/private/private.properties

@@ -0,0 +1,2 @@
+index.file=index.php
+url=http://localhost/monolog/

+ 7 - 0
nbproject/project.properties

@@ -0,0 +1,7 @@
+include.path=${php.global.include.path}
+php.version=PHP_53
+source.encoding=UTF-8
+src.dir=.
+tags.asp=false
+tags.short=true
+web.root=.

+ 9 - 0
nbproject/project.xml

@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+    <type>org.netbeans.modules.php.project</type>
+    <configuration>
+        <data xmlns="http://www.netbeans.org/ns/php-project/1">
+            <name>monolog</name>
+        </data>
+    </configuration>
+</project>

+ 2 - 2
src/Monolog/Handler/NewRelicHandler.php

@@ -12,9 +12,9 @@
 namespace Monolog\Handler;
 
 /**
- * Base class for all mail handlers
+ * Class to record a log on a NewRelic application
  *
- * @author Gyula Sallai
+ * @see https://newrelic.com/docs/php/new-relic-for-php
  */
 class NewRelicHandler extends AbstractProcessingHandler
 {