Code example for Level

Methods: intValue

0
	protected StderrStdoutLevel(String name, int value) {
		super(name, value);
	} 
 
	public static Level STDOUT = new StderrStdoutLevel("STDOUT", Level.INFO
			.intValue() + 53);
 
	public static Level STDERR = new StderrStdoutLevel("STDERR", Level.INFO
			.intValue() + 54);
 
	/** 
	 * Obtain the correct log level. 
	 *  
	 * @return The level for stdout or stderr, 
	 * @throws ObjectStreamException 
	 *             This is thrown if a proper level instance cannot be found. 
	 */ 
	protected Object readResolve() throws ObjectStreamException {
		if (this.intValue() == STDOUT.intValue())
			return STDOUT;
		if (this.intValue() == STDERR.intValue())