Skip to content

Commit

Permalink
Added context example when using with PSR-3
Browse files Browse the repository at this point in the history
  • Loading branch information
lux committed Oct 25, 2023
1 parent ab89d96 commit 5955293
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ $logger->handler (Variable::init ($log));

$logger->alert ('Things are really happening right now!');

// With context
$logger->debug ('Testing {0}:{1}', [__FILE__, __LINE__]);

var_dump ($log);
```

Expand Down

0 comments on commit 5955293

Please sign in to comment.