Skip to content

Possibility for compiler warning #2330

Answered by tt4g
wrestang asked this question in Q&A
Discussion options

You must be logged in to vote

The FMT_STRING macro is provided by fmt library (see https://fmt.dev/latest/index.html#safety).
This feature implemented by #1574.

Example:

spdlog::debug(FMT_STRING("{} this is my log {}"), "a");

Related #1510

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wrestang
Comment options

Answer selected by wrestang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants