Monolog Versions Save

Sends your logs to files, sockets, inboxes, databases and various web services

3.6.0

1 week ago
  • Added LineFormatter->setBasePath(...) that allows removing the project's path from the stack trace output (#1873)
  • Added $includeExtra option in PsrHandler to also use extra data to replace placeholder values in the message (#1852)
  • Added ability to customize what is a duplicated message by extending the DeduplicationHandler (#1879)
  • Added handling for using GelfMessageFormatter together with the AmqpHandler (#1869)
  • Added ability to extend GoogleCloudLoggingFormatter (#1859)
  • Fixed __toString failures in context data crashing the normalization process (#1868)
  • Fixed PHP 8.4 deprecation warnings (#1874)

Full Changelog: https://github.com/Seldaek/monolog/compare/3.5.0...3.6.0

2.9.3

1 week ago
  • Fixed PHP 8.4 deprecation warnings (#1874)

3.5.0

5 months ago
  • Added ability to indent stack traces in LineFormatter via e.g. indentStacktraces(' ') (#1835)
  • Added ability to configure a max level name length in LineFormatter via e.g. setMaxLevelNameLength(3) (#1850)
  • Added support for indexed arrays (i.e. [] and not {} arrays once json serialized) containing inline linebreaks in LineFormatter (#1818)
  • Added WithMonologChannel attribute for integrators to use to configure autowiring (#1847)
  • Fixed log record extra data leaking between handlers that have handler-specific processors set (#1819)
  • Fixed LogglyHandler issue with record level filtering (#1841)
  • Fixed display_errors parsing in ErrorHandler which did not support string values (#1804)
  • Fixed bug where the previous error handler would not be restored in some cases where StreamHandler fails (#1815)
  • Fixed normalization error when normalizing incomplete classes (#1833)

Full Changelog: https://github.com/Seldaek/monolog/compare/3.4.0...3.5.0

2.9.2

5 months ago
  • Fixed display_errors parsing in ErrorHandler which did not support string values (#1804)
  • Fixed bug where the previous error handler would not be restored in some cases where StreamHandler fails (#1815)
  • Fixed normalization error when normalizing incomplete classes (#1833)

Full Changelog: https://github.com/Seldaek/monolog/compare/2.9.1...2.9.2

3.4.0

10 months ago

Full Changelog: https://github.com/Seldaek/monolog/compare/3.3.1...3.4.0

3.3.1

1 year ago
  • Fixed Logger not being serializable anymore (#1792)

2.9.1

1 year ago
  • Fixed Logger not being serializable anymore (#1792)

3.3.0

1 year ago
  • Deprecated FlowdockHandler & Formatter as the flowdock service was shutdown (#1748)
  • Added ClosureContextProcessor to allow delaying the creation of context data by setting a Closure in context which is called when the log record is used (#1745)
  • Added an ElasticsearchHandler option to set the op_type to create instead of the default index (#1766)
  • Added support for enum context values in PsrLogMessageProcessor (#1773)
  • Added graylog2/gelf-php 2.x support (#1747)
  • Improved BrowserConsoleHandler logging to use more appropriate methods than just console.log in the browser (#1739)
  • Fixed GitProcessor not filtering correctly based on Level (#1749)
  • Fixed WhatFailureGroupHandler not catching errors happening inside close() (#1791)
  • Fixed datetime field in GoogleCloudLoggingFormatter (#1758)
  • Fixed infinite loop detection within Fibers (#1753)
  • Fixed AmqpHandler->setExtraAttributes not working with buffering handler wrappers (#1781)

2.9.0

1 year ago
  • Deprecated FlowdockHandler & Formatter as the flowdock service was shutdown (#1748)
  • Added support for enum context values in PsrLogMessageProcessor (#1773)
  • Added graylog2/gelf-php 2.x support (#1747)
  • Improved BrowserConsoleHandler logging to use more appropriate methods than just console.log in the browser (#1739)
  • Fixed WhatFailureGroupHandler not catching errors happening inside close() (#1791)
  • Fixed datetime field in GoogleCloudLoggingFormatter (#1758)
  • Fixed infinite loop detection within Fibers (#1753)
  • Fixed AmqpHandler->setExtraAttributes not working with buffering handler wrappers (#1781)

2.8.0

1 year ago
  • Deprecated CubeHandler and PHPConsoleHandler as both projects are abandoned and those should not be used anymore (#1734)
  • Added RFC 5424 level (7 to 0) support to Logger::log and Logger::addRecord to increase interoperability (#1723)
  • Added support for __toString for objects which are not json serializable in JsonFormatter (#1733)
  • Added GoogleCloudLoggingFormatter (#1719)
  • Added support for Predis 2.x (#1732)
  • Added AmqpHandler->setExtraAttributes to allow configuring attributes when using an AMQPExchange (#1724)
  • Fixed serialization/unserialization of handlers to make sure private properties are included (#1727)
  • Fixed allowInlineLineBreaks in LineFormatter causing issues with windows paths containing \n or \r sequences (#1720)
  • Fixed max normalization depth not being taken into account when formatting exceptions with a deep chain of previous exceptions (#1726)
  • Fixed PHP 8.2 deprecation warnings (#1722)
  • Fixed rare race condition or filesystem issue where StreamHandler is unable to create the directory the log should go into yet it exists already (#1678)