public class ConversionStatus
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
ConversionStatus.InstanceHolder
Initialization-on-demand holder for ConversionStatus singleton instance.
|
| Modifier and Type | Field and Description |
|---|---|
private CentralLogger |
runtimeLogger
Instance of CentralLogger for the runtime ConversionStatus.
|
| Modifier | Constructor and Description |
|---|---|
private |
ConversionStatus()
Private constructor for ConversionStatus for conversion.
|
private |
ConversionStatus(java.lang.Class<?> clazz)
Private constructor for ConversionStatus for runtime.
|
| Modifier and Type | Method and Description |
|---|---|
static ConversionStatus |
get()
Static method for getting instance of ConversionStatus.
|
static ConversionStatus |
get(java.lang.Class<?> clazz)
Static method for getting the instance of ConversionStatus corresponding to the app launch mode.
|
void |
log(java.util.logging.Level level,
java.lang.String msg)
Method that forwards the call to CentralLogger in runtime mode.
|
void |
log(java.util.logging.Level level,
java.lang.String msg,
java.lang.Throwable t)
Method that forwards the call to CentralLogger in runtime mode.
|
private CentralLogger runtimeLogger
private ConversionStatus()
private ConversionStatus(java.lang.Class<?> clazz)
public static ConversionStatus get()
public static ConversionStatus get(java.lang.Class<?> clazz)
clazz - The class to be used as logger name.public void log(java.util.logging.Level level,
java.lang.String msg)
level - The log record level.msg - The message to be logged.public void log(java.util.logging.Level level,
java.lang.String msg,
java.lang.Throwable t)
level - The log record level.msg - The message to be logged.t - The throwable to be logged.