Update src/layouts/LoggerLayoutPattern.php

Fixed bug null to string conversion