loglib/CHANGELOG.md
Netkas 4fa87c349c
Remove unused ConfigException class, make code style adjustments
Deleted ConfigException class as it was not being used anywhere in the project.
Code style adjustments were made to conform with the PSR-12 coding standard. This includes property and variable naming conventions, use of strict equality operators, reformatting of code and removal of unnecessary comments. The .idea/php.xml file was also updated to a newer version of the library.
Log functions are updated to throw exceptions for non-existent message and invalid level. Also, LogLib is now registered/unregistered  as an exception handler.
Other adjustments were made to achieve consistency in the codebase including renaming properties for clarity, moving magic strings into constants, improving code readability and adding descriptive comments.
2023-10-10 23:29:26 -04:00

1.1 KiB

Changelog

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.

[1.1.0] - Unreleased

Updated loglib to work with ncc 2.+.

Changed

  • Various code improvements and optimizations
  • Removed unused code

[1.0.2] - 2023-07-06

Changed

  • Changed the Timestamp format to display micro time instead of a date format
  • Timestamp Formats can now display in red or yellow to indicate performance impacts between log entries

Fixed

  • Fixed mistake in \LogLib\Classes > Console > outException() where the function attempts to print out a previous exception by calling getPrevious() as an array instead of a function call.

[1.0.1] - 2023-02-10

Added

  • Added PSR compatible LoggerInterface implementation (\LogLib\Psr)
  • Added new option --log-level to set the log level (Can also be applied via the environment variable LOG_LEVEL)

[1.0.0] - 2023-01-29

Added

  • First Release