Skip to content

Commit

Permalink
Merge pull request #20 from silinternational/develop
Browse files Browse the repository at this point in the history
Release 2.3.0
  • Loading branch information
forevermatt authored Sep 1, 2020
2 parents faa7e29 + b09e0b0 commit 42927ce
Show file tree
Hide file tree
Showing 7 changed files with 177 additions and 109 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ update:
docker-compose run --rm cli bash -c "composer update"

test:
docker-compose run --rm cli bash -c "cd /data/tests; ./phpunit ."
docker-compose run --rm cli bash -c "cd /data/tests; ../vendor/bin/phpunit ."
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@ Various PSR3-compatible logging adapters.

## Adapter-specific notes

### Psr3ConsoleLogger
- Since this is ambiguous regarding whether logged messages are affected by
PHP's output buffering, we recommend using either `Psr3EchoLogger` or
`Psr3StdOutLogger` instead.

### Psr3EchoLogger
- This `echo`es out the log messages, allowing the output to be buffered so that
it appears at the expected place within the rest of the output (such as in
tests).

### Prs3StdOutLogger
- This writes to stdout, bypassing any output buffering that PHP might be doing.

### Psr3Yii2Logger
- Make sure your Yii config bootstraps the `log` componenet. In other words,
include something like this in your Yii config:
Expand Down
Loading

0 comments on commit 42927ce

Please sign in to comment.