By any chance did anyone work on this?
Even I'm supposed to implement this functionality.
I want to implement functionality similar to "BufferingForwardingAppender" from Log4Net.
I haven't started working on it yet. But I'm supposed to start soon.
I'm worried about only 2 points:
1> What if the buffer size doesn't reach the preset number (20)? How will this get flushed then? (This is from the earlier post.) Exactly same problem.
2> How do I call another tracelistener from my custom trace listener.
OR How do I send the buffered messages to the specified Trace Listener.
E.g. suppose user wants to send buffered messages to “Event Log Trace Listener”.
Later he changes it to “Flat File Trace Listener”. The user should be able to do it without any code changes.
It would be helpful any guidance/pointers are provided.