John,
It looks like you are trying to do something very similar to what I was
interested in (see my earlier messages in the list.) Basically what I
wound up with was a Windows form with a textbox and a refresh button
that whenever it was clicked, it could show the contents of the
MemoryAppender.
"my-logger"
MemoryAppender ma =
h.GetLogger("my-logger").GetAppender("MemoryAppender") as
MemoryAppender;
// Get the events out of the memory appender
LoggingEvent[] events = ma.Events;
Cheers,
Nicko
> -Original Message-
> From: Kevin Torkelson [mailto:[EMA
Hi,
I’m trying to enable a MemoryAppender and access the
logged information from within code to be displayed in a form. Ideally
I’d like the MemoryAppender to be configured in the config file. I
already have a working config file which logs to a file and the debugger, and I
added the