org.apache.logging.julbridge
Interface JULLevelConverter


public interface JULLevelConverter

Implementations make a decision on how to convert a java.util.logging.Level instance into a log4j equivalent.

Author:
psmith

Method Summary
 org.apache.log4j.Level convertJuliLevel(java.util.logging.Level juliLevel)
          Convertes a java.util.logging.Level class into an appropriate log4j Level, based on whatever policy you want.
 java.util.logging.Level convertLog4jLevel(org.apache.log4j.Level log4jLevel)
          Converts a log4j Level into a juli Level.
 

Method Detail

convertJuliLevel

org.apache.log4j.Level convertJuliLevel(java.util.logging.Level juliLevel)
Convertes a java.util.logging.Level class into an appropriate log4j Level, based on whatever policy you want.

Parameters:
juliLevel -
Returns:

convertLog4jLevel

java.util.logging.Level convertLog4jLevel(org.apache.log4j.Level log4jLevel)
Converts a log4j Level into a juli Level.

Parameters:
log4jLevel -
Returns:


Copyright © 2007-2008 Apache Software Foundation. All Rights Reserved.