Logger::DEBUG from SafeRotatingFileHandler is deprecated.

Created on 3 January 2025, 4 months ago

Problem/Motivation

Logger::DEBUG is deprecated

  public function __construct(FileSystemInterface $fileSystem, LoggerChannelInterface $loggerChannel, string $path, int $maxFiles = 0) {
    $this->fileSystem = $fileSystem;
    $this->loggerChannel = $loggerChannel;
    parent::__construct($path, $maxFiles, Logger::DEBUG, TRUE, 0664);
  }

Proposed resolution

As Monolog says:

    /**
     * Detailed debug information
     *
     * @deprecated Use \Monolog\Level::Debug
     */
    public const DEBUG = 100;
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇪🇸Spain eduardo morales alberti Spain, 🇪🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024