1. Go to this page and download the library: Download enlitepro/enlite-slow-log 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/ */
enlitepro / enlite-slow-log example snippets
return array(
'EnliteSlowLog' => array(
// service manager alias
// accept zend logger and PSR-3 logger like monolog
'logger' => 'EnliteMonologService',
// in milliseconds
'threshold' => 1000
)
);