germix / exception-dumper
Dump exceptions to file
dev-master
2020-06-24 14:37 UTC
This package is not auto-updated.
Last update: 2025-04-25 12:30:02 UTC
README
Installation
composer require germix/exception-dumper
Description
Dump exceptions to file.
Available formats
- text
- html
- json
How to use
try
{
// ...
}
catch(\Exception $ex)
{
$dumper = new ExceptionDumper('logs', 'log ~ ', 'html', true);
$dumper->dump($ex);
}
Its generate a file like this
logs/log ~ 2020-01-04 12-30-02.html