Logging Module
In order to trace certain behaviours and help QA and Testing Processes to track down issues and bugs.
Plugins can use this Module to add additional information to the general open contract logging.
Where to log
Logs should be accessible for QA and Devs and should due to security reasons only be generated in Test Environments.
For Android and iOS these Logs should be exportable and should be sharable with the Devs during Test-Sessions and QA-Process. Additional for iOS the Console App should be used to access those logs.
Format
In the prints it should be easy to tell what plugin or oc-functionality is involved (by id) and what action is going to be triggered. The Format should therefore be aligned with other popular Logging Frameworks and contain informations like:
- log-level: info, warning, error etc.
- plugin-id
- function-name and line
- message: what happened