public abstract class Loggers extends Object
java.util.logging.Logger
).Modifier and Type | Method and Description |
---|---|
static Logger |
getLogger(Class<?> cls)
Get a
Logger , backed by SLF4J if present on the classpath or falling back
to java.util.logging.Logger . |
static Logger |
getLogger(String name)
Get a
Logger , backed by SLF4J if present on the classpath or falling back
to java.util.logging.Logger . |
public static Logger getLogger(String name)
Logger
, backed by SLF4J if present on the classpath or falling back
to java.util.logging.Logger
.name
- the category or logger name to useLogger
instance