pub fn init()
Initialize the MockLogger. If called after the logger has already been initialized this will clear any previously captured log entries.