trinet/logger-module

Logger module for Zend Framework

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/trinet/logger-module

1.0.1 2018-05-28 08:41 UTC

This package is auto-updated.

Last update: 2025-10-09 05:27:09 UTC


README

Installation

If the zendframework/zend-component-installer package is installed it will ask you if you want to inject the module into your configs. If not, the Trinet\LoggerModule has to be added manually to your config/modules.config.php file.

The default path for logged errors is ./data/log/. The path must exist for the Stream lgo writer to be able to write files.

Configuration

The module has two configuration options which can be overridden in a local config:

  • ['trinet']['logger']['path']: The path where log files should be written. Defaults to ./data/log/.
  • ['trinet']['logger']['date-format']: The date format of log entries. Defaults to Y-m-d.