pekand/log

1.0.1 2020-11-27 16:10 UTC

This package is auto-updated.

Last update: 2024-09-28 00:23:42 UTC


README

Log is simple library for logging to file.

<?php

use pekand\Log\Log;

Log::setAllowedSeverity([
    'INFO', 
    'ERROR', 
    'DEBUG',
]);

Log::setStoragePath(dirname(__FILE__).'/storage/log/');

Log::write('mesage', 'INFO');

License

The Log is open-sourced software licensed under the MIT license.