How can I access POE heap values from Log4perls layout?
POE is a framework for creating multitasked applications running in a single process and a single thread. POE’s threads equivalents are ‘sessions’ and since they run quasi-simultaneously, you can’t use Log4perl’s global NDC/MDC to hold session-specific data. However, POE already maintains a data store for every session. It is called ‘heap’ and is just a hash storing session-specific data in key-value pairs.
Related Questions
- Ive completed problem 1c but would like to confirm that I have done it correctly. What is the cost of the optimal layout for the given values of M?
- How can I remove the graticule lines from my grid on my map layout but retain my numeric values in Focus?
- How can I access POE heap values from Log4perls layout?