enable and disable logging creates and closes the log file, add open file error message, atomic conditionals
enable and disable logging creates and closes the log file, add open file error message, atomic conditionals

jpoirier/DataLogger,jpoirier/DataLogger,jpoirier/DataLogger