Closed ytake closed 6 years ago
config/fluent.php
return [ 'host' => '127.0.0.1', 'port' => 24224, /** @see https://github.com/fluent/fluent-logger-php/blob/master/src/FluentLogger.php */ 'options' => [], /** @see https://github.com/fluent/fluent-logger-php/blob/master/src/PackerInterface.php */ // specified class name 'packer' => null, 'tagFormat' => '{{channel}}.{{level_name}}', ];
added config/logging.php
config/logging.php
return [ 'channels' => [ 'stack' => [ 'driver' => 'stack', 'channels' => ['fluent'], ], 'single' => [ 'driver' => 'single', 'path' => __DIR__ . '/../tmp/laravel.log', 'level' => 'debug', ], // snippet 'fluent' => [ 'driver' => 'fluent', 'level' => 'debug', ], ], ];
@ytake Works as expected! When are you going to merge, so we can set composer version?
Thanks!
@duxthefux here! https://github.com/ytake/Laravel-FluentLogger/releases/tag/3.0.0
thanks!
Changed
config/fluent.php
added
config/logging.php