This is a major release containing breaking API changes.
Changes since 0.3.x
- Removed
LoggerAttachment
. AttachableLogger
now usesClosure(mixed,string):void
instead ofLoggerAttachment
.AttachableLogger
defines a PHPStan type aliasLoggerAttachment
, which can be imported using@phpstan-import-type
. This type alias isClosure(mixed $level, string $message) : void
.