Changing log format
Closed this issue · 2 comments
maxsharabayko commented
I cannot find examples in the documentation on how to change the format of the log message.
I would like to remove the 'location' part from it.
Studying the source code location is saved the first time the log is called from a thread.
Still, I don't quite get a simple way to change the format. Please advise!
MengRao commented
You can use fmtlog::setHeaderPattern
for this, please refer to the README for the details. Thank you.
maxsharabayko commented
Oh, missed that big table! 😄 Thank you, @MengRao