Truncates a list of log entries to fit within Telegram's limit.
Array of log line strings to truncate.
Characters used by header/footer wrappers.
Truncated log string with an omission notice if needed.
Truncates a list of log entries to fit within Telegram's limit.