Skip to content

Commit

Permalink
变更
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangjincheng committed May 28, 2019
1 parent 0e711ea commit bb3a838
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Core/Plugins/Logger/LoggerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ private function buildLogger(Context $context)
$this->logger->pushProcessor(new GoSwooleProcessor($this->loggerConfig->isColor()));
$this->logger->pushProcessor(new GoIntrospectionProcessor());
$this->logger->pushHandler($this->handler);
DISet(LoggerInterface::class,$this->logger);
DISet(LoggerInterface::class, $this->logger);
DISet(\Monolog\Logger::class, $this->logger);
DISet(Logger::class, $this->logger);
}

/**
Expand Down

0 comments on commit bb3a838

Please sign in to comment.