/** * Clear any custom configurations to Redwood * @return this */ public RedwoodConfiguration clear(){ this.tasks = new LinkedList<>(); this.tasks.add(() -> { Redwood.clearHandlers(); Redwood.restoreSystemStreams(); }); this.outputHandler = Redwood.ConsoleHandler.out(); return this; }
public void run() { Redwood.clearHandlers(); Redwood.restoreSystemStreams(); } });
/** * Clear any custom configurations to Redwood * @return this */ public RedwoodConfiguration clear(){ this.tasks = new LinkedList<>(); this.tasks.add(() -> { Redwood.clearHandlers(); Redwood.restoreSystemStreams(); }); this.outputHandler = Redwood.ConsoleHandler.out(); return this; }
/** * Clear any custom configurations to Redwood * @return this */ public RedwoodConfiguration clear(){ this.tasks = new LinkedList<>(); this.tasks.add(() -> { Redwood.clearHandlers(); Redwood.restoreSystemStreams(); }); this.outputHandler = Redwood.ConsoleHandler.out(); return this; }