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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbuildStr(StringBuilder sb, String indentation, Status s) Deprecated.static voidDeprecated.Print the contents of the context's status data.static voidDeprecated.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 voidDeprecated.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 than the threshold.static voidsetPrintStream(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
-
print
-
print
Deprecated. -
print
Deprecated. -
print
-
buildStr
Deprecated.
-
StatusPrinter2