Extend to specify the log method that the message should be invoked. eg:
setOutputStream( new LoggerAwareOutputStream( getLogger() ) { protected void logMessage( String message ) { if ( m_logger.isDebugEnabled() ) { m_logger.debug( message ); } } } );@author Marcus Crafter @version $Revision:$ @since Nov 19, 2004 7:03:50 PM
|
|
|
|