From 42324322390e9e05256bdbf04e83667925fc91a4 Mon Sep 17 00:00:00 2001 From: HaoLiang Date: Sun, 28 Oct 2018 16:36:50 +0800 Subject: [PATCH] Toolbar needs logging. Fixes #1258 --- system/Debug/Toolbar.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/Debug/Toolbar.php b/system/Debug/Toolbar.php index 7f2fb1d5ca77..926000661bb4 100644 --- a/system/Debug/Toolbar.php +++ b/system/Debug/Toolbar.php @@ -79,7 +79,8 @@ public function __construct(BaseConfig $config) { if (! class_exists($collector)) { - // @todo Log this! + log_message('critical', 'Toolbar collector does not exists(' . $collector . ').'. + 'please check $toolbarCollectors in the Config\App.php file.'); continue; }