diff --git a/src/Logger.php b/src/Logger.php index 68d9eaa2..18e10fb6 100644 --- a/src/Logger.php +++ b/src/Logger.php @@ -45,7 +45,7 @@ public function log(?string $msg,int $logLevel = self::LOG_LEVEL_INFO,string $ca return $str; } - public function console(?string $msg,int $logLevel = self::LOG_LEVEL_INFO,string $category = 'console') + public function console(?string $msg,int $logLevel = self::LOG_LEVEL_INFO,string $category = 'debug') { $this->logger->console($msg,$logLevel,$category); if($this->logConsole){ @@ -54,22 +54,22 @@ public function console(?string $msg,int $logLevel = self::LOG_LEVEL_INFO,string } - public function info(?string $msg,string $category = 'info') + public function info(?string $msg,string $category = 'debug') { $this->console($msg,self::LOG_LEVEL_INFO,$category); } - public function notice(?string $msg,string $category = 'notice') + public function notice(?string $msg,string $category = 'debug') { $this->console($msg,self::LOG_LEVEL_NOTICE,$category); } - public function waring(?string $msg,string $category = 'waring') + public function waring(?string $msg,string $category = 'debug') { $this->console($msg,self::LOG_LEVEL_WARNING,$category); } - public function error(?string $msg,string $category = 'error') + public function error(?string $msg,string $category = 'debug') { $this->console($msg,self::LOG_LEVEL_ERROR,$category); } diff --git a/src/SysConst.php b/src/SysConst.php index e3209495..129d3a99 100644 --- a/src/SysConst.php +++ b/src/SysConst.php @@ -11,7 +11,7 @@ class SysConst { - const EASYSWOOLE_VERSION = '3.3.8-dev'; + const EASYSWOOLE_VERSION = '3.3.7'; const LOGGER_HANDLER = 'LOGGER_HANDLER'; const ERROR_HANDLER = 'ERROR_HANDLER'; const TRIGGER_HANDLER = 'TRIGGER_HANDLER';