Skip to content

Commit 2f741b6

Browse files
committed
改进
1 parent de0bf66 commit 2f741b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/LogManager.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ class LogManager implements LoggerInterface
8383
/**
8484
* 初始化
8585
* @access public
86+
* @param array $config 日志配置
87+
* @return $this
8688
*/
8789
public function init(array $config = [])
8890
{
@@ -102,6 +104,8 @@ public function init(array $config = [])
102104

103105
$this->isCli = $this->runningInConsole();
104106
$this->channel();
107+
108+
return $this;
105109
}
106110

107111
/**

0 commit comments

Comments
 (0)