Class StatusPrinter

java.lang.Object
ch.qos.logback.core.util.StatusPrinter

public class StatusPrinter extends Object
Deprecated.
replaced by StatusPrinter2
This class print status messages of a given Context. However, all its methods are static. Use StatusPrinter2 instead
  • Constructor Details

  • Method Details

    • setPrintStream

      public static void setPrintStream(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 - a context to print
    • 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 than the threshold.
      Parameters:
      context - a context to print
      threshold - filter events later than the threshold
    • printIfErrorsOccured

      public static void printIfErrorsOccured(Context context)
      Deprecated.
      Print the contents of the context statuses, but only if they contain errors.
      Parameters:
      context - a context to print
    • print

      public static void print(Context context)
      Deprecated.
      Print the contents of the context's status data.
      Parameters:
      context - a context to print
    • print

      public static void print(Context context, long threshold)
      Deprecated.
      Print context's status data with a timestamp higher than the threshold.
      Parameters:
      context - a context to print
      threshold - filter events later than the threshold
    • print

      public static void print(StatusManager sm)
      Deprecated.
    • print

      public static void print(StatusManager sm, long threshold)
      Deprecated.
    • print

      public static void print(List<Status> statusList)
      Deprecated.
    • buildStr

      public static void buildStr(StringBuilder sb, String indentation, Status s)
      Deprecated.