spdlog icon indicating copy to clipboard operation
spdlog copied to clipboard

Need module level definition and environment variable switch

Open host452b opened this issue 4 years ago • 1 comments

HOW CAN I DO THAT OR OVERWRITE ?

host452b avatar Mar 08 '22 05:03 host452b

Something like:

SPDLOG_INFO(module_A, "{0}", "I AM MODULE A")
SPDLOG_INFO(module_B, "{0}", "I AM MODULE B")

and it can be control by environment variable to devide whether enable , default off This helps locate the problem , when your problem are huge, complex ~

host452b avatar Mar 08 '22 07:03 host452b