Hook up librenms cli debug (#9632)

* Hook up librenms cli debug

* forgot to add function exists check, good travis-ci :)
This commit is contained in:
Tony Murray
2019-01-09 19:36:32 -06:00
committed by GitHub
parent 8174b9a13c
commit 5cdc49df1b
4 changed files with 83 additions and 29 deletions

View File

@@ -83,7 +83,7 @@ class Laravel
public static function enableCliDebugOutput()
{
if (class_exists('Log')) {
if (class_exists('\Log')) {
$logger = Log::getMonolog();
// only install if not existing