Skip to content

Commit

Permalink
3.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss291323003 committed Apr 17, 2020
1 parent 4830b64 commit 46f6404
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand All @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/SysConst.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 46f6404

Please sign in to comment.