He he he, work shmork :-) I figured that returning the appender's name would be handy.
Basically, I have a List of Objects - Strings, appenders, and Loggers. These objects are displayed in a JList. So, either the toString() method is overridden to display something pretty and nice (like the appender name), or I have to detect what type of object is in the List and then either show its name, or call toString(), etc depending on the object type. I may end up taking the latter approach anyway because it gives me greater flexibilty in what I display in the JList. It just might be nice to print something besides the object's hash in memory on a toString() call by default. Not very critical at this point. Richard --- Mark Womack <[EMAIL PROTECTED]> wrote: > Richard, > > What do you want to use this value for? What would > you like the value to > be? > > -Mark > > ps Sorry for the delay, things got busy here are > work too...:-) > > ---------------------------------------------------------------------------- > ------- > > Ceki/Mark, > > Can you add a toString() method to the > AppenderSkeleton and the Logger objects? I'm > displaying these in the gui, and thought that the > toString() method would be a great way of displaying > them (doesn't require me to cast from Object). Any > objections? > > Thanks, > Richard > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]