You are here

public function LogFileManagerInterface::ensurePath in File Log 8

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

Ensure that the log directory exists.

Return value

bool TRUE if the path of the logfile exists and is writeable.

2 methods override LogFileManagerInterface::ensurePath()
LogFileManager::ensurePath in src/LogFileManager.php
Ensure that the log directory exists.
LogFileManager::ensurePath in src/ProxyClass/LogFileManager.php
Ensure that the log directory exists.

File

src/LogFileManagerInterface.php, line 16

Class

LogFileManagerInterface
Interface for the LogFileManager service.

Namespace

Drupal\filelog

Code

public function ensurePath() : bool;