2017 © Pedro Peláez
 

library error-handler

ZF2 Module. For handle and log errors

image

t4web/error-handler

ZF2 Module. For handle and log errors

  • Wednesday, August 17, 2016
  • by maxgu
  • Repository
  • 3 Watchers
  • 0 Stars
  • 97 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 7 % Grown

The README.md

ErrorHandler

ZF2 Module. For handle and log errors, (*1)

If enabled you can log all PHP errors\notices\warnings etc., (*2)

Installation

Add this project in your composer.json:, (*3)

"require": {
    "t4web/error-handler": "~1.0.0"
}

Now tell composer to download T4web\ErrorHandler by running the command:, (*4)

$ php composer.phar update

Post installation

Enabling it in your application.config.phpfile., (*5)

<?php
return array(
    'modules' => array(
        // ...
        'T4web\Log',
        'T4web\ErrorHandler',
    ),
    // ...
);

Introduction

For example, we generate some errors. In our Application\Controller\IndexController:, (*6)

public function indexAction()
{
    $e = $a['i'];  // this is Notice
    asd();  // this is Fatal
    return new ViewModel();
}

If you use t4web\admin in your logs you can see: backend error handler log entries, (*7)

The Versions

17/08 2016

dev-master

9999999-dev https://github.com/t4web/ErrorHandler

ZF2 Module. For handle and log errors

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar sebaks

zf2 error handler zf2 module error

17/08 2016

1.0.2

1.0.2.0 https://github.com/t4web/ErrorHandler

ZF2 Module. For handle and log errors

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar sebaks

zf2 error handler zf2 module error

17/08 2016

1.0.1

1.0.1.0 https://github.com/t4web/ErrorHandler

ZF2 Module. For handle and log errors

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar sebaks

zf2 error handler zf2 module error

17/08 2016

1.0.0

1.0.0.0 https://github.com/t4web/ErrorHandler

ZF2 Module. For handle and log errors

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar sebaks

zf2 error handler zf2 module error