Stub logger for tests