Allow setting truncate length through `globalOptions.maxMessageLength`, closes #244
Merge pull request #246 from joostdevries/allow-customized-truncating

Allow setting truncate length through `globalOptions.maxMessageLength `