danielme85 / laravel-log-to-db

Custom Laravel and Lumen 5.6+ Log channel handler that can store log events to SQL or MongoDB databases. Uses Laravel/Monolog native logging functionality.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing commas on example of config

ikudosi opened this issue · comments

In your example of config logging.channels.database you are missing commas on entries: queue, queue_name, queue_connection.

'database' => [
    'driver' => 'custom',
    'via' => danielme85\LaravelLogToDB\LogToDbHandler::class,
    'level' => env('APP_LOG_LEVEL', 'debug'),
    'name' => 'My DB Log',
    'connection' => 'default',
    'collection' => 'log',
    'detailed' => true,
    'queue' => false
    'queue_name' => ''
    'queue_connection' => ''
]

Commas in the example logs config array costs extra: for two simple payments of $19.99 you can get your very own commas within 5-8 business days 🛒💳 (thats $19.99 per comma).

No but seriously: thanks for letting me know. Feel free to do a pull request (its fun even for small things), or I will fix it a little later today.

Fixed with: 0626375 Feat: Culture Club.