PHP code example of tomaj / nette-errbit

1. Go to this page and download the library: Download tomaj/nette-errbit library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

tomaj / nette-errbit example snippets

 php
Tomaj\Errbit\ErrbitLogger::register($container->parameters['errbit']);
Tomaj\Errbit\ErrbitLogger::ignoreNotices();
Tomaj\Errbit\ErrbitLogger::addIgnoreMessage('Some exception message text');

// Default log priorities: error, exception. To rewrite call:
Tomaj\Errbit\ErrbitLogger::setLogPriorities(array('error', 'exception', 'access'));