I would like to see name of original process when I load logs from file.
To present filename as now, we could move it into message header.
The proposed change:
void AnyFileReader::PreProcess(Line& line) const
{
line.processName = Str(m_filenameOnly).str();
}
->
void AnyFileReader::PreProcess(Line& line) const
{
line.message = "[" + Str(m_filenameOnly).str() + "] ";
}
In my opinion, the filename addition in line.message can be omitted. I already know the exact file I have loaded and do not want to see it in the log.
->
void AnyFileReader::PreProcess(Line& line) const
{
}