MockLogger.php Interfaces, Classes and Traits MockLogger The MockLogger is a simple PSR-3 implementation that we can use to test whether things get logged correctly.