Utilities to work with ARK logs
Require this package, with Composer, in the root directory of your project.
$ composer require faustbrian/ark-log
<?php $parser = new BrianFaust\ArkLog\FileParser(); $parser->parse('ark.log', [ 'Error', 'Failed', 'Fatal', 'Warning', 'not forging', 'Blockchain not ready to receive block', 'Orphaned block', 'Double forgery' ]); dump($parser->toCollection());
If you discover a security vulnerability within this package, please send an e-mail to Brian Faust at firstname.lastname@example.org. All security vulnerabilities will be promptly addressed.