plog
plog copied to clipboard
Log Message printed on Multiple times on Windows DLL when passing same log instance from .exe
Example log message printing format : 10520 2023-05-18 13:51:52.192 INFO [24880] [Person::Init@13] Hello 10520 2023-05-18 13:51:52.192 INFO [24880] [Person::Init@13] Hello 10520 2023-05-18 13:51:52.192 INFO [24880] [Person::Init@13] Hello 10520 2023-05-18 13:51:52.192 INFO [24880] [Person::AddData@18] Data Added Successfully 10520 2023-05-18 13:51:52.192 INFO [24880] [Person::AddData@18] Data Added Successfully 10520 2023-05-18 13:51:52.192 INFO [24880] [Person::AddData@18] Data Added Successfully
I am using same log instance on exe and DLL , On .exe it working well, but on DLL messages printed on multiple times even on same thread ID.
Hi @harikutty5896 !
Could you post a code with plog initialization?