Class Logger

  extended by org.apache.log4j.Category
      extended by org.apache.log4j.Logger

public class Logger
extends Category

Field Summary
Fields inherited from class org.apache.log4j.Category
Constructor Summary
protected Logger(String name)
Method Summary
static Logger getLogger(Class<?> clazz)
static Logger getLogger(String name)
static Logger getLogger(String name, LoggerFactory factory)
static Logger getRootLogger()
Methods inherited from class org.apache.log4j.Category
addAppender, assertLog, callAppenders, debug, debug, error, error, exists, fatal, fatal, forcedLog, getAdditivity, getAllAppenders, getAppender, getChainedPriority, getCurrentCategories, getEffectiveLevel, getInstance, getInstance, getLevel, getName, getParent, getPriority, getResourceBundle, getRoot, info, info, isAttached, isDebugEnabled, isEnabledFor, isErrorEnabled, isFatalEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, l7dlog, l7dlog, log, log, log, removeAllAppenders, removeAppender, removeAppender, setAdditivity, setLevel, setPriority, setResourceBundle, shutdown, trace, trace, warn, warn
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


protected Logger(String name)
Method Detail


public static Logger getLogger(String name)


public static Logger getLogger(Class<?> clazz)


public static Logger getRootLogger()


public static Logger getLogger(String name,
                               LoggerFactory factory)

Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.