ch.qos.logback.classic.control
Class ScenarioMaker

java.lang.Object
  extended by ch.qos.logback.classic.control.ScenarioMaker

public class ScenarioMaker
extends Object


Constructor Summary
ScenarioMaker()
           
 
Method Summary
static Scenario makeRealisticCreationScenario(int len)
           
static Scenario makeTypeAScenario(int len)
          Makes a scenario with len logger creations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScenarioMaker

public ScenarioMaker()
Method Detail

makeTypeAScenario

public static Scenario makeTypeAScenario(int len)
Makes a scenario with len logger creations. Logger names are generated independently such that the overwhelming majority of logger names will be unrelated to each other. Each logger creation may be followed with a randomly generated set levelInt action on that logger.

Parameters:
len -
Returns:

makeRealisticCreationScenario

public static Scenario makeRealisticCreationScenario(int len)


Copyright © 2005-2009 QOS.ch. All Rights Reserved.