stk2k/stream-logger

View on GitHub
demo/include/file1.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
require_once 'autoload.php';

use Stk2k\StreamLogger\BufferedOutputLogger;

$logger = new BufferedOutputLogger();
$logger->debug('Hello, world!');
$logger->warning('Something is wrong...');