java.lang.Object
ch.qos.logback.core.util.StatusPrinter
Deprecated.
This class print status messages of a given
Context
. However, all its methods are
static. Use StatusPrinter2
instead-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
buildStr
(StringBuilder sb, String indentation, Status s) Deprecated.static void
Deprecated.Print the contents of the context's status data.static void
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
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 than the threshold.static void
setPrintStream
(PrintStream printStream) Deprecated.
-
Constructor Details
-
StatusPrinter
public StatusPrinter()Deprecated.
-
-
Method Details
-
setPrintStream
Deprecated. -
printInCaseOfErrorsOrWarnings
Deprecated.Print the contents of the context statuses, but only if they contain warnings or errors.- Parameters:
context
- a context to print
-
printInCaseOfErrorsOrWarnings
Deprecated.Print the contents of the context status, but only if they contain warnings or errors occurring later than the threshold.- Parameters:
context
- a context to printthreshold
- filter events later than the threshold
-
printIfErrorsOccured
Deprecated.Print the contents of the context statuses, but only if they contain errors.- Parameters:
context
- a context to print
-
print
Deprecated.Print the contents of the context's status data.- Parameters:
context
- a context to print
-
print
Deprecated.Print context's status data with a timestamp higher than the threshold.- Parameters:
context
- a context to printthreshold
- filter events later than the threshold
-
print
Deprecated. -
print
Deprecated. -
print
Deprecated. -
buildStr
Deprecated.
-
StatusPrinter2