Stefano, On 10/17/06, Stefano Nichele <[EMAIL PROTECTED]> wrote:
and I should log any message in both loggers and i should redirect to the myDebugLogger the log coming from some user...ehmmm....i'm confused....can you give me more details ?
messages logged to x.y.z.debug will be sent automatically to x.y.z, so you only need to log to x.y.z for the normal case, and use the x.y.z.debug logger for the cases where you want more information. At the top of your module you might include an assignment: Logger log = (debuggingUser) ? myDebugLogger : myLogger; Then in the rest of the method refer to the local log variable. As I said, I might not understand what you are attempting to do. Michael --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
