This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
Releases: zendframework/zend-log
Releases · zendframework/zend-log
zend-log 2.8.0
Added
- #39 adds the following factory classes for the exposed plugin managers in the component:
Zend\Log\FilterPluginManagerFactory
, which returnsFilterPluginManager
instances.Zend\Log\FormatterPluginManagerFactory
, which returnsFormatterPluginManager
instances.Zend\Log\ProcessorPluginManagerFactory
, which returnsProcessorPluginManager
instances.Zend\Log\WriterPluginManagerFactory
, which returnsWriterPluginManager
instances.
- #39 exposes the package as a ZF component and/or generic configuration provider, by adding the following:
ConfigProvider
, which maps the available plugin managers to the corresponding factories as listed above, maps theLogger
class to theLoggerServiceFactory
, and registers theLoggerAbstractServiceFactory
as an abstract factory.Module
, which does the same asConfigProvider
, but specifically for zend-mvc applications. It also provices a specifications toZend\ModuleManager\Listener\ServiceListener
to allow modules to provide configuration for log filters, formatters, processors, and writers.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-log 2.7.2
zend-log 2.7.1
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #28 restores the "share by default" flag settings of all plugin managers back to boolean
false
, allowing multiple instances of each plugin type. (This restores backwards compatibility with versions prior to 2.7.)
zend-log 2.7.0
Added
- #7 and #15 add a new argument and option to
Zend\Log\Writer\Stream
to allow setting the permission mode for the stream. You can pass it as the optional fourth argument to the constructor, or as thechmod
option if using an options array. - #10 adds
array
to the expected return types fromZend\Log\Formatter\FormatterInterface::format()
, codifying what we're already allowing. - #24 prepares the documentation for publication, adds a chapter on processors, and publishes it to https://zendframework.github.io/zend-log/
Deprecated
- #14 deprecates the following, suggesting the associated replacements:
Zend\Log\Writer\FilterPluginManager
is deprecated; useZend\Log\FilterPluginManager
instead.Zend\Log\Writer\FormatterPluginManager
is deprecated; useZend\Log\FormatterPluginManager
instead.
Removed
- Nothing.
Fixed
zend-log 2.6.0
Added
- #6 adds PSR-3 support to zend-log:
Zend\Log\PsrLoggerAdapter
allows you to decorate aZend\Log\LoggerInterface
instance so it can be used wherever a PSR-3 logger is expected.Zend\Log\Writer\Psr
allows you to decorate a PSR-3 logger instance for use as a log writer withZend\Log\Logger
.Zend\Log\Processor\PsrPlaceholder
allows you to use PSR-3-compliant message placeholders in your log messages; they will be substituted from corresponding keys of values passed in the$extra
array when logging the message.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-log 2.5.2
Added
- #2 adds the ability to specify the mail transport via the configuration options for a mail log writer, using the same format supported by
Zend\Mail\Transport\Factory::create()
; as an example:
$writer = new MailWriter([
'mail' => [
// message options
],
'transport' => [
'type' => 'smtp',
'options' => [
'host' => 'localhost',
],
],
]);
Deprecated
- Nothing.
Removed
- #43 removed both
ServerRequestFactory::marshalUri()
andServerRequestFactory::marshalHostAndPort()
, which were deprecated prior to the 1.0 release.