This is only used during UnitTesting. If we are in a testing context, instead of printing the logs to the console, we will store them in a variable that can be accessed from the tests.
The key of the log.
The content of the log.
This is only used during UnitTesting. If we are in a testing context, instead of printing the logs to the console, we will store them in a variable that can be accessed from the tests.