Update to PSR Logger Interface

$logger->err() is deprecated, $logger->error() should now be used instead.