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.Object
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description StatusPrinter()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
buildStr(java.lang.StringBuilder sb, java.lang.String indentation, Status s)
Deprecated.static void
print(Context context)
Deprecated.Print the contents of the context's status data.static void
print(Context context, long threshold)
Deprecated.Print context's status data with a timestamp higher than the threshold.static void
print(StatusManager sm)
Deprecated.static void
print(StatusManager sm, long threshold)
Deprecated.static void
print(java.util.List<Status> statusList)
Deprecated.static void
printIfErrorsOccured(Context context)
Deprecated.Print the contents of the context statuses, but only if they contain errors.static void
printInCaseOfErrorsOrWarnings(Context context)
Deprecated.Print the contents of the context statuses, but only if they contain warnings or errors.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.static void
setPrintStream(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.
-
-