Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixes record var error #1

Merged
1 commit merged into from

2 participants

@flyboarder

fixed a small typo where $record contained it's self, changed $record -> $message as I believe it should have been.

@Seldaek
Owner

Thanks, merged

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 1, 2011
  1. @flyboarder

    fixed incorect record var

    flyboarder authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Monolog/Logger.php
View
2  src/Monolog/Logger.php
@@ -101,7 +101,7 @@ public function addRecord($level, $message)
$this->pushHandler(new StreamHandler('php://stderr', self::DEBUG));
}
$record = array(
- 'message' => $record,
+ 'message' => $message,
'level' => $level,
'level_name' => self::getLevelName($level),
'channel' => $this->name,
Something went wrong with that request. Please try again.