Creates a new TestLogger
the newly created TestLogger
If record is equal to true, all logged values are recorded in logger.messages
record
true
Generated using TypeDoc
Creates a new TestLogger
Returns
the newly created TestLogger