org.xhtmlrenderer.util
Class LoggerUtil

java.lang.Object
  extended by org.xhtmlrenderer.util.LoggerUtil

public class LoggerUtil
extends Object

Utility class for working with java.logging Logger classes

Author:
Patrick Wright

Constructor Summary
LoggerUtil()
           
 
Method Summary
static Logger getDebugLogger(Class cls)
          Instantiate a Logger for debug messages for a given class.
static Level parseLogLevel(String val, Level defaultLogLevel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerUtil

public LoggerUtil()
Method Detail

getDebugLogger

public static Logger getDebugLogger(Class cls)
Instantiate a Logger for debug messages for a given class.

Parameters:
cls - PARAM
Returns:
The debugLogger value

parseLogLevel

public static Level parseLogLevel(String val,
                                  Level defaultLogLevel)


Copyright © 2013. All Rights Reserved.