Package gov.usgs.util.logging
Class StdOutErrLevel
- java.lang.Object
-
- java.util.logging.Level
-
- gov.usgs.util.logging.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
-
-
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.
-
-
-
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
-
-