I'm converting one of my existing programs to use Log4perl instead of the code that I wrote to make logging happen. I've hit on a snag that I can't quite wrap my head around currently.
In my program, I have a a Tkx textbox widget that I've been updating in my homebrew logging sub. This widget allows me to easily scroll through the messages when something bombs. I'd like to retain that functionality with a minimum of fuss.
I've been reading over the log4perl documentation, and while I see that I MIGHT be able to roll my own appender. Unfortunately, I'm not currently versed enough with the intricacies to do so. I may have to correct this to reach my goal, but before I embark on that journey, I'd like to ensure that there's some collective wisdom that says "yep, that's how you're going to have to do it."
I *could* potentially take the message and kick it to a subroutine for writing to the textbox, by capturing the return and submitting it, but that doesn't seem to be the most elegant way of handling this.
Thoughts?
In reply to Log4perl and Tkx by jellisii2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |