com.epam.common.logging
Class LogFactory

java.lang.Object
  extended by com.epam.common.logging.LogFactory

public class LogFactory
extends Object

The log factory implementation. Provides functionality for create and configure SLF4H or Common Logging instance, if no one is exists, the DefaultLog implementation is used instead.


Method Summary
static Log getLog(Class aClass)
          Gets log instance.
static Log getLog(String name)
          Gets log instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLog

public static Log getLog(Class aClass)
Gets log instance.

Parameters:
aClass - the class

getLog

public static Log getLog(String name)
Gets log instance.

Parameters:
name - the logical name of the Log instance


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.