public class StatusPrinter extends Object
Constructor and Description |
---|
StatusPrinter() |
Modifier and Type | Method and Description |
---|---|
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(Context context,
long threshold)
Print context's status data with a timestamp higher than the threshold.
|
static void |
print(List<Status> statusList) |
static void |
print(StatusManager sm) |
static void |
print(StatusManager sm,
long threshold) |
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 |
printInCaseOfErrorsOrWarnings(Context context,
long threshold)
Print the contents of the context status, but only if they contain
warnings or errors occurring later then the threshold.
|
static void |
setPrintStream(PrintStream printStream) |
public static void setPrintStream(PrintStream printStream)
public static void printInCaseOfErrorsOrWarnings(Context context)
context
- public static void printInCaseOfErrorsOrWarnings(Context context, long threshold)
context
- public static void printIfErrorsOccured(Context context)
context
- public static void print(Context context)
context
- public static void print(Context context, long threshold)
context
- public static void print(StatusManager sm)
public static void print(StatusManager sm, long threshold)
public static void buildStr(StringBuilder sb, String indentation, Status s)
Copyright © 2005–2021 QOS.ch. All rights reserved.