PHP code example of johannschopplich / kirbylog
1. Go to this page and download the library: Download johannschopplich/kirbylog 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/ */
johannschopplich / kirbylog example snippets
// Anywhere in your code
kirbylog('Something happened');
kirbylog('Log this to file');
kirbylog($response->code(), 'error');
return [
'johannschopplich.kirbylog' => [
'filename' => 'test.log'
]
]