MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
Logger | getInstance (Class<?> cls) |
Logger | getInstance (String loggerName) |
Logger | registerLogger (String loggerName) |
Definition at line 20 of file LoggerFactory.java.
Logger com.mysql.clusterj.core.util.LoggerFactory.getInstance | ( | Class<?> | cls | ) |
Get an instance of the logger. The logger to get is based on the package name of the class. If there is no logger for the package, the parent package name is tried, recursively. If there is no logger for the topmost package name, an exception is thrown.
cls | the class for which to get the logger |
Get an instance of the logger. The logger is configured based on the name. The logger must already exist.
loggerName | the name of the logger, normally the package name |
Implemented in com.mysql.clusterj.core.util.JDK14LoggerFactoryImpl.
Register an instance of the logger.
loggerName | the name of the logger, normally the package name |
Implemented in com.mysql.clusterj.core.util.JDK14LoggerFactoryImpl.