poco icon indicating copy to clipboard operation
poco copied to clipboard

Question: How set custom logger parameter globally

Open TheEnigmist opened this issue 2 years ago • 1 comments

I've a Poco::Logger with a custom parameter inside pattern. There is a way to set that parameter globally one time and then see it in all .debug/.information functions? Suppose a pattern like this: "[%Y-%m-%d] %[custom1]"

I want to set custom1 one time and use debug/information/error function without worrying about creating a Poco::Message and fill that parameter (I don't want to move that value all over the project)

TheEnigmist avatar Jan 31 '23 16:01 TheEnigmist

This issue is stale because it has been open for 365 days with no activity.

github-actions[bot] avatar Feb 01 '24 02:02 github-actions[bot]

This issue was closed because it has been inactive for 60 days since being marked as stale.

github-actions[bot] avatar Apr 01 '24 02:04 github-actions[bot]