create log message helpers inside LogMessage model