module documentation

Test cases for twisted.logger._global.

Class LogBeginnerTests Tests for LogBeginner.
Function compareEvents Compare two sequences of log events, examining only the the keys which are present in both.
def compareEvents(test: unittest.TestCase, actualEvents: list[LogEvent], expectedEvents: list[LogEvent]): ΒΆ

Compare two sequences of log events, examining only the the keys which are present in both.

Parameters
test:unittest.TestCasea test case doing the comparison
actualEvents:list[LogEvent]A list of log events that were emitted by a logger.
expectedEvents:list[LogEvent]A list of log events that were expected by a test.