Skip to content

Commit

Permalink
Be sure to add a newline between log entries.
Browse files Browse the repository at this point in the history
  • Loading branch information
robmiller committed May 6, 2012
1 parent 58fc72c commit 521fd6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ham/ham.php
Expand Up @@ -308,7 +308,7 @@ public function __construct($file) {
}

public function write($message, $severity) {
$message = date('Y-m-d H:i:s') . "\t$severity\t$message";
$message = date('Y-m-d H:i:s') . "\t$severity\t$message\n";
if (!is_writable($this->file)) {
return false;
}
Expand Down

0 comments on commit 521fd6d

Please sign in to comment.