Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
crwgregory committed Apr 8, 2016
1 parent 0c27af0 commit c5e9257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PagekitLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function __construct($name, $filePath = 'errors.log')
* Thanks Monolog!
* @throws App\Exception
*/
public function log($message, $level) {
public function log($message, $level = Logger::ERROR) {

// TODO: Add mailing for certain logs.
switch($level) {
Expand Down

0 comments on commit c5e9257

Please sign in to comment.