fmtlog
fmtlog copied to clipboard
Can the log method only log the format error instead of throw the exception?
It is not that uncommon for developers to miss a "{}" in for format string, which caused format_error exception at runtime. The malformed line logging code may crash the entire application, which is not desirable. Should we only log the format_error and the line number that has the format error without crashing the application?