Package ch.qos.logback.core.util
Class StatusPrinter
- java.lang.Object
 - 
- ch.qos.logback.core.util.StatusPrinter
 
 
- 
@Deprecated(since="2022-01-27") public class StatusPrinter extends java.lang.ObjectDeprecated. 
- 
- 
Constructor Summary
Constructors Constructor Description StatusPrinter()Deprecated. 
- 
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidbuildStr(java.lang.StringBuilder sb, java.lang.String indentation, Status s)Deprecated.static voidprint(Context context)Deprecated.Print the contents of the context's status data.static voidprint(Context context, long threshold)Deprecated.Print context's status data with a timestamp higher than the threshold.static voidprint(StatusManager sm)Deprecated.static voidprint(StatusManager sm, long threshold)Deprecated.static voidprint(java.util.List<Status> statusList)Deprecated.static voidprintIfErrorsOccured(Context context)Deprecated.Print the contents of the context statuses, but only if they contain errors.static voidprintInCaseOfErrorsOrWarnings(Context context)Deprecated.Print the contents of the context statuses, but only if they contain warnings or errors.static voidprintInCaseOfErrorsOrWarnings(Context context, long threshold)Deprecated.Print the contents of the context status, but only if they contain warnings or errors occurring later then the threshold.static voidsetPrintStream(java.io.PrintStream printStream)Deprecated. 
 - 
 
- 
- 
Method Detail
- 
setPrintStream
public static void setPrintStream(java.io.PrintStream printStream)
Deprecated. 
- 
printInCaseOfErrorsOrWarnings
public static void printInCaseOfErrorsOrWarnings(Context context)
Deprecated.Print the contents of the context statuses, but only if they contain warnings or errors.- Parameters:
 context-
 
- 
printInCaseOfErrorsOrWarnings
public static void printInCaseOfErrorsOrWarnings(Context context, long threshold)
Deprecated.Print the contents of the context status, but only if they contain warnings or errors occurring later then the threshold.- Parameters:
 context-
 
- 
printIfErrorsOccured
public static void printIfErrorsOccured(Context context)
Deprecated.Print the contents of the context statuses, but only if they contain errors.- Parameters:
 context-
 
- 
print
public static void print(Context context)
Deprecated.Print the contents of the context's status data.- Parameters:
 context-
 
- 
print
public static void print(Context context, long threshold)
Deprecated.Print context's status data with a timestamp higher than the threshold.- Parameters:
 context-
 
- 
print
public static void print(StatusManager sm)
Deprecated. 
- 
print
public static void print(StatusManager sm, long threshold)
Deprecated. 
- 
print
public static void print(java.util.List<Status> statusList)
Deprecated. 
- 
buildStr
public static void buildStr(java.lang.StringBuilder sb, java.lang.String indentation, Status s)Deprecated. 
 - 
 
 -