Code example for Level

Methods: intValue

	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;
Contextual code suggestions in your IDE  Get Codota for Java