- Updated to be compatible with latest PHPUnit.
- Updated to the latest PSR-3 (PSR Log) version.
- Added link to
apix/log-tracker
.
- Added
\LogicException
when the stream has been__destruct()
too early.
NOTE: The major version number update is due to some internal changes. The actual client methods have not been changed, i.e. has the same signatures as the 1.1.*
branch.
- Changes to the handling and processing of each individual log entry (resulting in memory and CPU optimisation).
- Refactored and documented
LoggerInterface
(better API for contribution). - Added
LogFormatter
class. - Changed the ordering of the log levels to match RFC5424 (thanks @jspalink).
- Added a
Stream
logger. - Added functional tests to support the README's examples.
- Added link to
jspalink/apix-log-pushover
. - Updated the README.md
- Added link to
PHPMailer/apix-log-phpmailer
. - Bug fixes.
- Added
setDeferred
so processing of logs happen at__destruct
time on a bucket and/or logger level (thanks @Synchro). - Updated the README.md accordingly.
- Updated the README.md
- Added HHVM support.
- Updated PHPUnit to 4.8 version.
- Added PHP7 support.
- Made Travis faster (using Docker containers and skipping allowable failures).
- Updated the README.md
- Fixed setCascading (just uncommented).
- Fixed a PHP 5.3 specific syntax error (unit-test)
- Renamed
Apix\Log\Logger\Null
toApix\Log\Logger\Nil
. 'Null' as a classname is now reserved to PHP7 usage, see PHP RFC: Reserve More Types in PHP 7 - Some semantic modifications e.g. now using "Log Buckets" to holds loggers.
- Added bucket self-prioritization as opposed to the FIFO mode used until now.
- Fixed the cascading or not of log entries to subsequent loggers.
- Added some aditional tests -- 100% code coverage!
- Added the logged message can be the context directly i.e. not a string.
- Added
\InvalidArgumentException
with an explicit message to the main constructor. - Added handling of Exception as context e.g.
$logger->critical( new \Exception('Boo!') )
.
- Added Scrutinizer checks.
- Added
.gitattributes
file. - Added a unit tests
bootstrap.php
file. - Added a default timezone to the unit tests bootstrapper.
- Fixed the context array handler (convert data to JSON).
- Added additional tests and minor changes.
- Updated the examples in
README.md
. - Added a
CHANGELOG.md
file.
- Initial release.
_|_| _|_| _| _| _| _| _| _| _| _| _| _| _| _| _| _| _|_| _|_|_|_| _|_|_| _| _|_| _|_| _| _| _| _| _| _| _| _| _| _| _| _|