Skip to content

0.3.0

Compare
Choose a tag to compare
@dktapps dktapps released this 18 May 21:08
· 9 commits to stable since this release
03ab131

This is a feature release. It does not feature any breaking API changes, but it does add some new classes to the global namespace.

Changes since 0.2.x

  • Dropped support for PHP 7.2 and 7.3.
  • Added PrefixedLogger. This wraps around a Logger and automatically adds a prefix to log messages before passing them to the original Logger.
  • Added GlobalLogger, which provides static always-available access to a logger via static get() and set() methods.
  • Added BufferedLogger interface. Loggers which implement this interface allow logging a block of messages which will appear together, regardless of if the logger may be receiving messages from multiple sources simultaneously.
  • Added SimpleLogger, which is used as the default logger for GlobalLogger. It just echos messages to the console like [INFO] This is a message.