PHP code example of tuki0918 / auer

1. Go to this page and download the library: Download tuki0918/auer 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/ */

    

tuki0918 / auer example snippets



use Auer\Log\Logger;

Logger::init('/path/to/app.log');

Logger::push()->info('info');
Logger::push()->error('errrrr');

# /path/to/app-2016-01-01.log
[2016-01-01 12:00:00] app.INFO: info [] []
[2016-01-01 12:00:01] app.ERROR: errrrr [] []