logger.cpp

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Code Review Comments

- Dara also mentioned I need to have copyright at the beginning of the scripts.

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 13 more files in changeset.
Final CleanUp of the Test

- to be able to use it as a reference to make it officially as part of the main code.

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 7 more files in changeset.
Disabled the logging

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 1 more file in changeset.
DEN-2089 : Test Current Design

- Added a Test log which has a different format and logs in the log/test folder.

__________________________________________________________________________________

Behrouz NematiPour

bNematiPour@diality.com

  1. … 4 more files in changeset.
DEN-1714 : Implementation

- Added cppcheck output.

- Added Linux signal handler to quit the application gracefully.

- Added manual coco validation. // coco begin validated:

  1. … 25 more files in changeset.
DEN-1714 : Implementation

  1. … 30 more files in changeset.
Merge branch 'master' into DEN-1396_LogHandler

  1. … 36 more files in changeset.
DEN-1714 : Implementation

  1. … 18 more files in changeset.
DEN-1437 : Implementation

- Added console out coloring for Error logs to be able to debug easier.

DEN-1437 : Implementation

- Changed 2019-2019 in copyright to 2019-2020.

  1. … 59 more files in changeset.
DEN-1617 : Implementation - Alarm Logging and Acknowledgment

- Added unit tests for logging

- Added unit tests for Alarm message.

- Tested the logging and export with more than 150MB log and it took ~10 sec to copy so added some feature to disable USB/Export buttons during export.

- Instead of using QtCuncorrent which is asynchronous moved logger to a thread to take advantage of the Signal/Slot queue between threads to have events logged in order.

- Move USB/Export buttons on Treatment Screen.

- Moved export from file handler into Logger.

  1. … 22 more files in changeset.
DEN-1617 : Implementation - Alarm Logging and Acknowledgment

- Added threading to other classes (Application / Gui controller, ...) and restructured the threading to meed the Qt limitation.

- Documented the code

- Ran cppCheck again

- Cleaned the includes and using namespace (They have left after so many changes and some were useless.)

- Added _init flag for init methods so not to be able to call them twice.

- Added another init method with the thread parameter to be able to pass the thread of the class and also be able to use the class without any thread for unit tests.

- Created a Threads namespace to gather all the threads in one place.

- Update the unit tests as well. [to make it work with the new structure/threading.]

  1. … 35 more files in changeset.
DEN-1617 : Implementation - Alarm Logging and Acknowledgment

- Added Threading structure for USBWatcher and FileHandler

  1. … 11 more files in changeset.
DEN-1617 : Implementation - Alarm Logging and Acknowledgment

- Alarm Logging has been added

- Some other changes has been done to the code and messaging.

- Acknowledgment is not done [ Had an agreement with Sean for design but needs more time and we need to do it all together.]

  1. … 36 more files in changeset.
Updated the Copyright with the current year and replaced tabs with 4 spaces

  1. … 52 more files in changeset.
DEN-1396 : UI Log Handler

MISC :

- Updated the Singleton defines to delete the instance.

- Added/moved the floatCompare in the types.cpp and created the file to do so.

LOGGING :

- Implemented logging

- Added LOG_EVENT / LOG_DATUM / LOG_ERROR in code instead of qDebug() as sample of the log event .

- Added export to USB feature.

- Added "Export Button"

  1. … 25 more files in changeset.
DEN-1090 : UI Message Handler / Error Handler

- Fixed application close which wasn't closing Can Device connection.

- Changed to date to 2019 in copyright section.

- In MessageInterpreter, named getBloodFlowData method parameters to the meaningful data names.

- Moved fromVariant method to Format utility class.

- Added Code documentation and description.

  1. … 61 more files in changeset.
Updated the Copyright with the current year and replaced tabs with 4 spaces

  1. … 52 more files in changeset.
DEN-629 : Implementation

- Implementing components

- Added Copyright

- Restructured the code.

  1. … 53 more files in changeset.
Initial Commit

  1. … 40 more files in changeset.