From 52a76b5c5311ff472fe5fd99c422994f4f1c820c Mon Sep 17 00:00:00 2001 From: Phoenix Eve Aspacio Date: Fri, 6 Sep 2019 23:43:50 +0800 Subject: [PATCH] update to new pattern --- src/GeoIP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } }