**Is your feature request related to a problem? Please describe.** Is there a way to simply limit the size of the logged message ? **Describe the solution you'd like** Providing an option like `maxLength`, that would handle string slicing.