public final class LoggerFactory
extends java.lang.Object
net.spy.log.LoggerImpl
should 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.
AbstractLogger
Modifier and Type | Method and Description |
---|---|
static Logger |
getLogger(java.lang.Class<?> clazz)
Get a logger by class.
|
static Logger |
getLogger(java.lang.String name)
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 loggerCopyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.