marvinlabs / laravel-discord-logger

Logging to a discord channel in Laravel
MIT License
176 stars 41 forks source link

All logs as file after a certain character length #40

Closed kiritokatklian closed 1 year ago

kiritokatklian commented 1 year ago

Currently stacktraces are logged as files if enabled in the config file. However, other logs longer than 2000 characters are sent as an embed which gets truncated. It'd be great if all logs longer than 2000 are also sent as a file just like with stacktraces.

vpratfr commented 1 year ago

Hi. Feel free to submit a PR, making sure the current behaviour stays the default and yours is configurable.

vpratfr commented 1 year ago

related to #20

kiritokatklian commented 1 year ago

@vpratfr Sorry about that! I completely forgot about the other opened issue. I created #41 and added two tests. Let me know if it needs anything else 👍