public class LoggerFactory extends Object
NopLogger
implementation but it can be changed by the user in the following ways:
a) Adding the system property org.snf4j.LoggerFactory which
should point the full class name of a User's implementation of the
ILoggerFactory interface.
b) Implementing the LoggerFactoryBinder
logger factory binder which can be used to produce the logger implementation.
The core API does not implement it.
| Modifier and Type | Method and Description |
|---|---|
static ILogger |
getLogger(Class<?> clazz)
Returns an instance of the
ILogger interface that is appropriate for
the specified class. |
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.