marvinlabs/laravel-discord-logger

All logs as file after a certain character length

Closed this issue · 3 comments

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.

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

related to #20

@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 👍