Enum Class REPLLog.LOG_TARGETS

java.lang.Object
java.lang.Enum<REPLLog.LOG_TARGETS>
de.uni_kiel.rz.fdr.repl.REPLLog.LOG_TARGETS
All Implemented Interfaces:
Serializable, Comparable<REPLLog.LOG_TARGETS>, Constable
Enclosing class:
REPLLog

public static enum REPLLog.LOG_TARGETS extends Enum<REPLLog.LOG_TARGETS>
The different targets that log messages can be written to.
  • Enum Constant Details

    • STDERR

      public static final REPLLog.LOG_TARGETS STDERR
      The JVM's standard error output.
    • STDOUT

      public static final REPLLog.LOG_TARGETS STDOUT
      The JVM's standard output.
    • LOG4J

      public static final REPLLog.LOG_TARGETS LOG4J
      Log4J, but only if it is available in the current JVM.
    • STDERR_OR_LOG4J

      public static final REPLLog.LOG_TARGETS STDERR_OR_LOG4J
      Log4J, with a fallback the JVM's standard error output if the former is not available.
    • REPL_ALL_SHELLS

      public static final REPLLog.LOG_TARGETS REPL_ALL_SHELLS
      The SSH consoles of all currently active shells.
    • REPL_FILE

      public static final REPLLog.LOG_TARGETS REPL_FILE
      The repl.log file in cau-repl's work directory.
  • Method Details

    • values

      public static REPLLog.LOG_TARGETS[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static REPLLog.LOG_TARGETS valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null