All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Allow Symfony v6 dependencies
- Add support for
psr/log
v2 and v3. - Add support for passing
Stringable
objects as the$message
parameter tolog()
methods.
- Add specific support for PHP v8
- Strict type declarations to match existing docblocks. Possible BC break if an implementation extends package classes or implements package interfaces.
- Exception thrown if string parameter for
LoggerType\Stream
cannot be opened for writing.
- BC break: Removed support for PHP versions <= 7.2 as they are no longer actively supported by the PHP project.
- Add support for Symfony\Console v5
- Apply GNU LGPLv3 software licence
- Add support for Symfony\Console v4
- Custom logger decorators can be registered on the Factory and applied via config
- New
Decorator\DefaultContext
which allows default context values to be set for all logs. Use directly or add to config, eg.'defaultContext' => ['foo'=>'bar']
- Renamed
Collection
toLoggerType\Collection
- Renamed
Stream
toLoggerType\Stream
- Renamed
CliColor
toLoggerType\CliColor
- Renamed
LevelFilter
toDecorator\LevelFilter
- Mark package as providing an implementation of
\Psr\Log
by using Composerprovide
option
- CliColor logger which can be manually constructed to add coloured log output to your CLI scripts' verbose mode.
- Officially support php70
- Support for additional handlers by extending Factory
- New Config class to separate the logic for interpreting the pool's config. Changes the Pool's constructor.
- Config key
name
renamed totype
- New Pool method to allow user to always get a collection logger
- README.md
- Composer lock file is no longer committed, to avoid dependency hell
Initial Release