Validate log record max size before writing to log
Unified MaxRecordLen and MaxMessageLen constants
Include min/max range boundaries in error message
Merge pull request #262 from wajam/manu-write-check-log-record-size

Validate log record max size before writing to log