MengRao/fmtlog

Changing log format

Closed this issue · 2 comments

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!

You can use fmtlog::setHeaderPattern for this, please refer to the README for the details. Thank you.

Oh, missed that big table! 😄 Thank you, @MengRao