Class StdOutErrLevel

  • All Implemented Interfaces:
    java.io.Serializable

    public class StdOutErrLevel
    extends java.util.logging.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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.logging.Level STDERR
      Level for STDERR activity
      static java.util.logging.Level STDOUT
      Level for STDOUT activity.
      • Fields inherited from class java.util.logging.Level

        ALL, CONFIG, FINE, FINER, FINEST, INFO, OFF, SEVERE, WARNING
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object readResolve()
      Method to avoid creating duplicate instances when deserializing the object.
      • Methods inherited from class java.util.logging.Level

        equals, getLocalizedName, getName, getResourceBundleName, hashCode, intValue, parse, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • STDOUT

        public static java.util.logging.Level STDOUT
        Level for STDOUT activity.
      • STDERR

        public static java.util.logging.Level STDERR
        Level for STDERR activity
    • Method Detail

      • readResolve

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