Skip to content

Commit

Permalink
Improved README.
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaposa committed Jun 11, 2017
1 parent c83e201 commit 51212f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ return [
],
'di' => [
'factories' => [
'MyLogger' => [ContainerInteropLoggerFactory::class, 'my_logger'],
'MyLogger1' => new ContainerInteropLoggerFactory('my_logger'),
//... or more preferred/optimal way:
'MyLogger2' => [ContainerInteropLoggerFactory::class, 'my_logger'],
],
],
];
Expand Down

0 comments on commit 51212f9

Please sign in to comment.