StartLogFile() public method

Method to prepare the JSON file for data to be added
public StartLogFile ( string fn ) : void
fn string Filename for log file
return void
Ejemplo n.º 1
0
 public void StartLogger()
 {
     serializer = new JSONSerializer();
     serializer.StartLogFile(Environs.FileSystem.Paths["transferCavityData"] + "log.json");
     serializer.StartProcessingData();
 }
Ejemplo n.º 2
0
 public void StartLoggingCurrent()
 {
     serializer = new JSONSerializer();
     serializer.StartLogFile((String)Environs.FileSystem.Paths["scanMasterDataPath"] +
         Environs.FileSystem.GenerateNextDataFileName() + ".json");
     serializer.StartProcessingData();
 }