Skip to content

v0.8.0

Compare
Choose a tag to compare
@gmponos gmponos released this 13 Dec 20:32
· 45 commits to master since this release

Changes

  • Set as the default strategy in all handlers the FixedStrategy

BREAKING CHANGES

  • LogLevelStrategy class is removed and it has been separated to smaller classes.
    Check the added section below.
  • Changed the namespaces completely. The new Namespace is GuzzleLogMiddleware instead of Gmponos\GuzzleLogger.
    Check the README file for instructions.
  • Changed the signature of function HandlerInterface::log.
  • Changed ArrayHandler to MultiRecordArrayHandler

Added

  • FixedStrategy a strategy that you are able to set one level for all your logs.
  • ThresholdLevelStrategy a strategy that works with thresholds depending on the status code.
  • StatusCodeStrategy a strategy that you are able to set a specific log level per status code.