PHP code example of kodansha / wack-log

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

    

kodansha / wack-log example snippets


logger()->debug('This is debug message.');
logger()->info('This is information message.');
logger()->warning('This is warning message.');
logger()->error('This is error message.');

logger('This is debug message.');

define('WACK_LOG_SETTINGS', [
    'use_json_format' => true,
]);