Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BufferingLogger.php

function BufferingLogger::cleanLogs

File

vendor/symfony/error-handler/BufferingLogger.php, line 30

Class

BufferingLogger
A buffering logger that stacks logs for later.

Namespace

Symfony\Component\ErrorHandler

Code

public function cleanLogs() : array {
    $logs = $this->logs;
    $this->logs = [];
    return $logs;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal