Via Composer
$ composer require edwin-luijten/houston
By default Houston uses the RotatingFileHandler
class from monolog,
and logs to /var/log/houston-{date}.problem.
Houston::init();
To overwrite the default log path for the RotatingFileHandler
:
Houston::init([
'file_log_location' => __DIR__ . '/my-log-folder/my-log.txt',
]);
You can use all the handlers available in the monolog package:
Houston::init([
'handlers' => [
new RotatingFileHandler('logpath'),
new RedisHandler($redisClient, $key),
]
]);
$ ./vendor/bin/phpunit
Please see CONTRIBUTING for details.
If you discover any security related issues, please email :author_email instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.