Skip to content

Commit

Permalink
Fixed custom logger info
Browse files Browse the repository at this point in the history
To make a custom logger, you need to add the parent::__construct($options) call.  Otherwise everything borks.  At least it fixed the problem for me.
  • Loading branch information
julian-karst committed May 29, 2016
1 parent 57b533b commit 9859dd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions en/core-libraries/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ properties are passed to the log adapter's constructor as an array. ::
{
public function __construct($options = [])
{
parent::__construct($options);
// ...
}

Expand Down

0 comments on commit 9859dd6

Please sign in to comment.