Skip to content

Commit

Permalink
Merge pull request #7 from wirwolf/patch-1
Browse files Browse the repository at this point in the history
Update ConsoleTarget.php
  • Loading branch information
pahanini authored Oct 19, 2016
2 parents 2210e8e + b141626 commit 99feeb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ConsoleTarget.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private function generateLabel($message)

//Add date to log
if (true == $this->displayDate) {
$label.= '['.date($this->dateFormat, time()).']';
$label.= '['.date($this->dateFormat, $message[3]).']';
}

//Add category to label
Expand Down Expand Up @@ -129,4 +129,4 @@ private function generateText($message)
}
return $text;
}
}
}

0 comments on commit 99feeb0

Please sign in to comment.