Skip to content

Commit

Permalink
修正Log/Channel类
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Aug 15, 2023
1 parent c995833 commit 9d1982a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/think/log/Channel.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ class Channel implements LoggerInterface
{
use LoggerTrait;

/**
* 事件
* @var Event
*/
protected $event;

/**
* 日志信息
* @var array
Expand All @@ -42,7 +36,7 @@ class Channel implements LoggerInterface
*/
protected $close = false;

public function __construct(protected string $name, protected LogHandlerInterface $logger, protected array $allow = [], protected bool $lazy = true, Event $event = null)
public function __construct(protected string $name, protected LogHandlerInterface $logger, protected array $allow = [], protected bool $lazy = true, protected Event $event = null)
{
}

Expand Down

0 comments on commit 9d1982a

Please sign in to comment.