Skip to content

Commit

Permalink
restore missing log function.
Browse files Browse the repository at this point in the history
  • Loading branch information
ubermichael committed Jun 10, 2021
1 parent 646b067 commit 3b3d66b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions SolrBundle/Services/SolrManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,12 @@ public function disableLogger() : void {
$this->client->getPlugin(LoggerPlugin::class)->setOptions(['enabled' => false]);
}

public function log($level, $message, $context = []) {
$this->logger->log($level, $message, $context);
}

public function enabled() : bool {
return $this->enabled;
}

}

0 comments on commit 3b3d66b

Please sign in to comment.