camspiers/silverstripe-slowlog

There is no license information available for the latest version (0.1.0) of this package.

Logs slow SilverStripe requests

Installs: 1 549

Dependents: 0

Suggesters: 0

Security: 0

Stars: 10

Watchers: 4

Forks: 2

Open Issues: 4

Type:silverstripe-module

0.1.0 2014-02-08 03:25 UTC

This package is auto-updated.

Last update: 2024-12-19 14:54:30 UTC


README

Build Status

Installation (with composer)

composer require camspiers/silverstripe-slowlog:dev-master

Usage

Provide a logger to the request filter service:

Injector:
  SlowLogRequestFilter:
    constructor:
      0: '%$Monolog'

Define a custom time

Any request >1s is deemed "slow" by default you can change this as follows:

Injector:
  SlowLogRequestFilter:
    constructor:
      0: '%$Monolog'
      1: 2