You are here

public function Logger::setLimit in MongoDB 8.2

Setter for limit.

Parameters

int $limit: The limit value.

1 call to Logger::setLimit()
Logger::__construct in modules/mongodb_watchdog/src/Logger.php
Logger constructor.

File

modules/mongodb_watchdog/src/Logger.php, line 718

Class

Logger
Class Logger is a PSR/3 Logger using a MongoDB data store.

Namespace

Drupal\mongodb_watchdog

Code

public function setLimit(int $limit) : void {
  $this->limit = $limit;
}