diff --git a/src/GeoIP.php b/src/GeoIP.php index 61865cc..27f1103 100644 --- a/src/GeoIP.php +++ b/src/GeoIP.php @@ -161,7 +161,7 @@ private function find($ip = null) if ($this->config('log_failures', true) === true) { $log = new Logger('geoip'); $log->pushHandler(new StreamHandler(storage_path('logs/geoip.log'), Logger::ERROR)); - $log->addError($e); + $log->error($e); } } }