Skip to content

Commit

Permalink
Fixed BtHrp loggers not being initialized.
Browse files Browse the repository at this point in the history
  • Loading branch information
uwburn committed Mar 11, 2018
1 parent 6fff2ea commit 1450cc4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Cardia/PresentationModel/Cardia.cs
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,8 @@ private void SetCSVLogger()
Logger = new CMS50LoggerCSV();
else if (hrm is HRMEmulator)
Logger = new HRMEmulatorLoggerCSV();
else if (hrm is BtHrp)
logger = new BtHrpLoggerCSV();
}

private void SetXLSXLogger()
Expand All @@ -825,6 +827,8 @@ private void SetXLSXLogger()
Logger = new CMS50LoggerXLSX();
else if (hrm is HRMEmulator)
Logger = new HRMEmulatorLoggerXLSX();
else if (hrm is BtHrp)
logger = new BtHrpLoggerXLSX();
}

private void SetXMLLogger()
Expand All @@ -835,6 +839,8 @@ private void SetXMLLogger()
Logger = new CMS50LoggerXML();
else if (hrm is HRMEmulator)
Logger = new HRMEmulatorLoggerXML();
else if (hrm is BtHrp)
logger = new BtHrpLoggerXML();
}

private void InitializeLoggers()
Expand Down

0 comments on commit 1450cc4

Please sign in to comment.