/** * Returns the default StopWatchFactory, which contains no * Log configuration. * * @return The default StopWatchFactory. */ public static StopWatchFactory getDefault() { return new StopWatchFactory(null); }
/** * Return new StopWatchFactory which uses the specified Log. You are fully * responsible for this StopWatchFactory for now, i.e. shutdown() does not * use this. * * @param logger * @return */ public static StopWatchFactory getInstance(Log logger) { return new StopWatchFactory(logger); }
/** * Return new StopWatchFactory which uses the specified Log. You are fully * responsible for this StopWatchFactory for now, i.e. shutdown() does not * use this. * * @param logger * @return */ public static StopWatchFactory getInstance(Log logger) { return new StopWatchFactory(logger); }
/** * Returns the default StopWatchFactory, which contains no * Log configuration. * * @return The default StopWatchFactory. */ public static StopWatchFactory getDefault() { return new StopWatchFactory(null); }
swf = new StopWatchFactory( instantiateLog(logger) );
swf = new StopWatchFactory( instantiateLog(logger) );