net.sourceforge.groboutils.codecoverage.v2
Interface IChannelLoggerFactory

All Known Implementing Classes:
CacheDirChannelLoggerFactory, DirectoryChannelLoggerFactory, NoOpChannelLoggerFactory

public interface IChannelLoggerFactory

Creates a channel logger. Used by the singleton CoverageLogger to dynamically create the logger being used for the runtime execution.

Since:
December 15, 2002
Version:
$Date: 2003/02/10 22:51:25 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Method Summary
 IChannelLogger createChannelLogger(java.lang.String propertyPrefix, java.util.Properties props, short channelIndex)
          Creates a specific logger type.
 

Method Detail

createChannelLogger

public IChannelLogger createChannelLogger(java.lang.String propertyPrefix,
                                          java.util.Properties props,
                                          short channelIndex)
Creates a specific logger type. Initializes the logger based on the given collection of properties.

Parameters:
propertyPrefix - the prefix that all logger properties will begin with. Expect all logger-specific properties to be appended directly to this string.
props - the property collection to pull the logger properties from.
channelIndex - channel number to log to.
Returns:
the initialized logger.


Copyright © 2001-2003 by The GroboUtils Project