flush Current Log File
Forces any current buffered log messages to be written to the current log file
Return
true if the operation was successful, false if the operation could not be completed OR the logging directory is not set OR the current log file is not set.