Huntly Cameron  committed 6367f18

Code Format

  • Participants
  • Parent commits f3321af

Comments (0)

Files changed (1)

-`requre_once "PHPLogger.php";`
-`$log = new Loggger("/path/to/log");`
-`$tag = "LOG TEST";`
-`//Print out some debug.`
-`$log->d($tag, "DEBUGGING FTW");`
-`//Print some info`
-`$log->i($tag,"Making cup of tea.");`
-`//you get the drift...`
-`$log->w($tag, "OOPS! Spoke too soon, SERVER DOWN!");`
+    requre_once "PHPLogger.php";
+    $log = new Loggger("/path/to/log");
+    $tag = "LOG TEST";
+    //Print out some debug.
+    $log->d($tag, "DEBUGGING FTW");
+    //Print some info
+    $log->i($tag,"Making cup of tea.");
+    //you get the drift...
+    $log->w($tag, "OOPS! Spoke too soon, SERVER DOWN!");
 Take a look at the source for all supported levels, it's not terribly exciting, but there you go..