public final class LoggerFactory extends java.lang.Object
net.spy.compat.log.LoggerImplshould point to an implementation of net.spy.compat.log.Logger to use.
Depending on how and where this was compiled, a sun logger (jdk 1.4) and/or log4j logger implementation may be included. Both are included with the official distribution.
|Modifier and Type||Method and Description|
Get a logger by class.
Get a logger by name.
public static Logger getLogger(java.lang.Class<?> clazz)
clazz- the class for which we want the logger.
public static Logger getLogger(java.lang.String name)
name- the name for which we want the logger
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.