poco
poco copied to clipboard
Question: How set custom logger parameter globally
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)
This issue is stale because it has been open for 365 days with no activity.
This issue was closed because it has been inactive for 60 days since being marked as stale.