You are here

public function Logger::trackerCollection in MongoDB 8.2

Return the request events tracker collection.

Return value

\MongoDB\Collection The collection.

File

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

Class

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

Namespace

Drupal\mongodb_watchdog

Code

public function trackerCollection() : Collection {
  return $this->database
    ->selectCollection(static::TRACKER_COLLECTION);
}