AbstractLoggerFactory can be an SLF4J API or a JDK native API.
- Function description
| Function name | Parameter type | Function description |
|---|---|---|
| setLogger | ILogger | The logger instance. |
| getlogger | None | Obtains the current logger. |
- Example
ClientEnv env = new ClientEnv();
ILogger logger = AbstractLoggerFactory.getInstance("MychainClientDemo");
env.setLogger(logger);