8000 tweaks to the Console logger by xabbuh · Pull Request #3721 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

tweaks to the Console logger #3721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 26, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
code fixes as mentioned by @dirkluijk
  • Loading branch information
xabbuh committed Mar 26, 2014
commit 610eb6b3910d6f7db3ecf787b2c86ef7a4d8e9b0
4 changes: 2 additions & 2 deletions components/console/logger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ You can rely on the logger to use this dependency inside a command::
{
$logger = new ConsoleLogger($output);

$myDependency = MyDependency($logger);
$myDependency = new MyDependency($logger);
$myDependency->doStuff();
}
}
Expand Down Expand Up @@ -99,7 +99,7 @@ level. This behavior is configurable through the third parameter of the
constructor::

// ...
private $formatLevelMap = array(
$formatLevelMap = array(
LogLevel::CRITICAL => self::INFO,
LogLevel::DEBUG => self::ERROR,
);
Expand Down
0