Package gov.usgs.util.logging
Class StdOutErrLevel
java.lang.Object
java.util.logging.Level
gov.usgs.util.logging.StdOutErrLevel
- All Implemented Interfaces:
Serializable
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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
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
-
Field Details
-
STDOUT
Level for STDOUT activity. -
STDERR
Level for STDERR activity
-
-
Method Details
-
readResolve
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
-