add log message helpers to LogMessage model