Add different log levels to messages. Add lowercase letter checks.