Class StdOutErrLevel

java.lang.Object
java.util.logging.Level
gov.usgs.util.logging.StdOutErrLevel
All Implemented Interfaces:
Serializable

public class StdOutErrLevel extends Level
Class defining 2 new Logging levels, one for STDOUT, one for STDERR. Used when multiplexing STDOUT and STDERR into the same rolling log file via the Java Logging APIs. From http://blogs.sun.com/nickstephen/entry/java_redirecting_system_out_and
See Also:
  • Field Details

    • STDOUT

      public static Level STDOUT
      Level for STDOUT activity.
    • STDERR

      public static Level STDERR
      Level for STDERR activity
  • Method Details

    • readResolve

      protected Object readResolve() throws ObjectStreamException
      Method to avoid creating duplicate instances when deserializing the object.
      Returns:
      the singleton instance of this Level value in this classloader
      Throws:
      ObjectStreamException - If unable to deserialize