-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
Hi,
I was testing the code in multiple threads and I observed different behavior for fmt::print:
With code
fmt::print( fmt::fg( fmt::color::blue ), "worker init\n" );
With code
fmt::print( fmt::fg( fmt::color::blue ), "worker {} init\n", mId );
Notice that items were missing color. And the only difference in code is just two lines above.
So I am wondering is that because the print is not thread-safe? Or actually some other issues going on.
Thanks for the help :)
Metadata
Metadata
Assignees
Labels
No labels

