Normalize line endings
Give better exception message

When providing log event without level, provide better exception message,
other than NullReferenceException
fixes #267