You are here

interface LogFileManagerInterface in File Log 8

Same name and namespace in other branches
  1. 2.0.x src/LogFileManagerInterface.php \Drupal\filelog\LogFileManagerInterface

Interface for the LogFileManager service.

Hierarchy

Expanded class hierarchy of LogFileManagerInterface

All classes that implement LogFileManagerInterface

2 files declare their use of LogFileManagerInterface
FileLog.php in src/Logger/FileLog.php
LogFileManager.php in src/ProxyClass/LogFileManager.php

File

src/LogFileManagerInterface.php, line 8

Namespace

Drupal\filelog
View source
interface LogFileManagerInterface {

  /**
   * Ensure that the log directory exists.
   *
   * @return bool
   *   TRUE if the path of the logfile exists and is writeable.
   */
  public function ensurePath() : bool;

  /**
   * Get the complete filename of the log.
   *
   * @return string
   *   The full path (relative or absolute) of the logfile.
   */
  public function getFileName() : string;

}

Members

Namesort descending Modifiers Type Description Overrides
LogFileManagerInterface::ensurePath public function Ensure that the log directory exists. 2
LogFileManagerInterface::getFileName public function Get the complete filename of the log. 2