From c9b6a9c6e850108304f2d70d804f4d5e28bbb376 Mon Sep 17 00:00:00 2001 From: daniel Tartavel Date: Sun, 2 Jan 2022 13:22:20 +0100 Subject: [PATCH] added constant ALL for all mosquitto log levels --- moha.php | 1 + 1 file changed, 1 insertion(+) diff --git a/moha.php b/moha.php index d9268ab..888f739 100644 --- a/moha.php +++ b/moha.php @@ -51,6 +51,7 @@ define( "INFO", $client->LOG_INFO); define( "NOTICE", $client->LOG_NOTICE); define( "WARNING", $client->LOG_WARNING); define( "ERROR", $client->LOG_ERR); +define( "ALL", DEBUG | INFO | NOTICE | WARNING | ERROR); $logLevel = DEBUG; // defining callback functions