com.ephox.apache.commons.logging
Class LogFactory

java.lang.Object
  extended by com.ephox.apache.commons.logging.LogFactory

public class LogFactory
extends Object

Factory for creating Log instances.

Since:
7.5

Method Summary
static Log getLog(Class<?> clazz)
          Return a named logger, relying on the log architecture to handle the factory instance
static void setLevel(String level)
          Set the log level for all existing and new logs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setLevel

public static void setLevel(String level)
Set the log level for all existing and new logs.


getLog

public static Log getLog(Class<?> clazz)
                  throws LogConfigurationException
Return a named logger, relying on the log architecture to handle the factory instance

Parameters:
clazz - Class for which a log name will be derived
Throws:
LogConfigurationException

Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved.