zendframework / zend-log

Log component from Zend Framework
BSD 3-Clause "New" or "Revised" License
62 stars 51 forks source link

Add a formatter to compactly print stack traces #78

Closed Erikvv closed 6 years ago

Erikvv commented 6 years ago

The available formatters are very verbose. This one produces a similar format to the native PHP exception handler.

It could use some more tests. The type of the exception is not printed, it is not available in the event.

Solves #32 if you use this formatter

PHP version is bumped to 7.0 to use the coalesce operator and more type hints

zf2timo commented 6 years ago

You changed the php constrained in the composer.json, so the .travis.yml also have to be updated.

froschdesign commented 6 years ago

@Erikvv and @zf2timo

PHP version is bumped to 7.0 to use the coalesce operator and more type hints

You changed the php constrained in the composer.json, so the .travis.yml also have to be updated.

Please open a new PR for these changes!

Erikvv commented 6 years ago

Bit of a misunderstanding, turns out our company will not be using this library in the near future.

I'm closing the PR.