public class OMCLogger
extends java.lang.Object
This class creates and stores the log file in the temporary folder.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
loggerName
Logger name of OpenModelica Compiler(OMC).
|
java.util.logging.Logger |
omcLogger
Create the OpenModelica Compiler(OMC) logger.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createDirectory()
Create the directory for saving the simulation result files
and also the log.
|
void |
getInfo(java.lang.String infoMessage)
Fetch the Info LogLevel and write them in the log.
|
static OMCLogger |
getInstance()
Create an instance of OMCLogger object in order to provide a global point of access to the instance.
|
public java.lang.String loggerName
public java.util.logging.Logger omcLogger
public java.lang.String createDirectory()
public void getInfo(java.lang.String infoMessage)
infoMessage
- The info message.public static OMCLogger getInstance()