Creates and updates a simulation initialisation error log file for the initialising simulation. More...
Static Public Member Functions | |
static void | openInitialisationErrorFile (String dirName) |
Open a logFile at a specified directory, and initialises the time recorder. More... | |
static void | writeLog (String message) |
Static method to add message to the log file, even when quiet mode is enabled. More... | |
static void | writeError (String message, String origin) |
Static method to add message to the log file, so long as Idynomics.quietMode is false (default) More... | |
static void | closeFile () |
Closes the log file. More... | |
static void | deleteFile () |
Deletes the log file if no errors have been logged. More... | |
Static Public Attributes | |
static FileOutputStream | log |
static long | anInstant |
Creates and updates a simulation initialisation error log file for the initialising simulation.
Creates and updates a simulation initialisation error log file for the initialising simulation
|
static |
Closes the log file.
Closes the log file
|
static |
Deletes the log file if no errors have been logged.
Deletes the log file if no errors have been logged
|
static |
Open a logFile at a specified directory, and initialises the time recorder.
Open a logFile at a specified directory, and initialises the time recorder
dirName | Directory where the log file should be stored |
|
static |
Static method to add message to the log file, so long as Idynomics.quietMode is false (default)
Static method to add message to the log file, so long as Idynomics.quietMode is false (default)
message | The message that should be appended to the log file |
origin | Origin of where this message came from |
|
static |
Static method to add message to the log file, even when quiet mode is enabled.
Static method to add message to the log file, even when quiet mode is enabled
message | The message that should be appended to the log file |
|
static |
Used to hold simulation time at the time of logging
|
static |
Output stream which log messages are written to