You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I founded this this old issue which explains that compile time checking was supported for macros: #13
When I want to do simple test where there is an extra "{}" in formatted string: LOG_INFO(logger, "Hello {} {}", "world" ); auto test = fmtquill::format("Hello {} {}", "world");
compile error is raised only for fmtquill::format. Does this mean that for LOG_* macros there is no compile time check?
The text was updated successfully, but these errors were encountered:
They were removed in v3.8.0 https://github.com/odygrd/quill/blob/master/CHANGELOG.md#v380
The reason is that they were generating extra template instantiations for each log message and also that the exception is being caught by the backend worker thread. Therefore your program won't crash and you will also see a runtime error message for an invalid format
I founded this this old issue which explains that compile time checking was supported for macros:
#13
When I want to do simple test where there is an extra "{}" in formatted string:
LOG_INFO(logger, "Hello {} {}", "world" );
auto test = fmtquill::format("Hello {} {}", "world");
compile error is raised only for fmtquill::format. Does this mean that for LOG_* macros there is no compile time check?
The text was updated successfully, but these errors were encountered: