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
hi,
I have multiple shared lib, and I want to chained their logs to main application;
in main app, I use multiple instance id and custom formater(log instance id string as header's part) to identify multiple modules in log text, but how can I identify log from diffent shared lib?
thx.
The text was updated successfully, but these errors were encountered:
One of the solutions I think about is to introduce a macro, for example PLOG_PREFIX, and set it to the library name. It will be automatically prepended to a log message. For example:
One of the solutions I think about is to introduce a macro, for example PLOG_PREFIX, and set it to the library name. It will be automatically prepended to a log message. For example:
hi,
I have multiple shared lib, and I want to chained their logs to main application;
in main app, I use multiple instance id and custom formater(log instance id string as header's part) to identify multiple modules in log text, but how can I identify log from diffent shared lib?
thx.
The text was updated successfully, but these errors were encountered: