PHP code example of lifanko / slog
1. Go to this page and download the library: Download lifanko/slog 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/ */
lifanko / slog example snippets
use lifanko\Slog;
Slog::log('Hello World');
Slog::log(12345.6789);
Slog::log([1, 2, 3, 4, 5, '67890']);
Slog::log([
'name' => 'slog',
'function' => 'send real time log',
'author' => [
'name' => 'lifanko',
'repository' => 'https://github.com/lifankohome/slog-php'
]
]);