Permalink
Browse files

adjusted GELFMessage constructor within the example

  • Loading branch information...
1 parent 0c0b3a4 commit 91c6c42632dd9642690f39c07863502466b8da6b @lo lo committed Jan 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.php
View
@@ -3,7 +3,7 @@
require('GELFMessage.php');
require('GELFMessagePublisher.php');
-$message = new GELFMessage(microtime(true));
+$message = new GELFMessage();
$message->setShortMessage('something is broken.');
$message->setFullMessage("lol full message!");
$message->setHost('somehost');
@@ -14,4 +14,4 @@
$message->setAdditional("something_else", "bar");
$publisher = new GELFMessagePublisher('172.16.22.30');
-$publisher->publish($message);
+$publisher->publish($message);

0 comments on commit 91c6c42

Please sign in to comment.