ch.qos.logback.core.util
Class StatusPrinter

java.lang.Object
  extended by ch.qos.logback.core.util.StatusPrinter

public class StatusPrinter
extends Object


Constructor Summary
StatusPrinter()
           
 
Method Summary
static void buildStr(StringBuilder sb, String indentation, Status s)
           
static void print(Context context)
          Print the contents of the context's status data.
static void print(List<Status> statusList)
           
static void print(StatusManager sm)
           
static void printIfErrorsOccured(Context context)
          Print the contents of the context statuses, but only if they contain errors.
static void printInCaseOfErrorsOrWarnings(Context context)
          Print the contents of the context statuses, but only if they contain warnings or errors.
static void setPrintStream(PrintStream printStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusPrinter

public StatusPrinter()
Method Detail

setPrintStream

public static void setPrintStream(PrintStream printStream)

printInCaseOfErrorsOrWarnings

public static void printInCaseOfErrorsOrWarnings(Context context)
Print the contents of the context statuses, but only if they contain warnings or errors.

Parameters:
context -

printIfErrorsOccured

public static void printIfErrorsOccured(Context context)
Print the contents of the context statuses, but only if they contain errors.

Parameters:
context -

print

public static void print(Context context)
Print the contents of the context's status data.

Parameters:
context -

print

public static void print(StatusManager sm)

print

public static void print(List<Status> statusList)

buildStr

public static void buildStr(StringBuilder sb,
                            String indentation,
                            Status s)


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