You are here

public function LogFileManager::getFileName in File Log 8

Same name in this branch
  1. 8 src/LogFileManager.php \Drupal\filelog\LogFileManager::getFileName()
  2. 8 src/ProxyClass/LogFileManager.php \Drupal\filelog\ProxyClass\LogFileManager::getFileName()
Same name and namespace in other branches
  1. 2.0.x src/LogFileManager.php \Drupal\filelog\LogFileManager::getFileName()

Get the complete filename of the log.

Return value

string The full path (relative or absolute) of the logfile.

Overrides LogFileManagerInterface::getFileName

File

src/LogFileManager.php, line 48

Class

LogFileManager
Provide file-handling methods for the logfile.

Namespace

Drupal\filelog

Code

public function getFileName() : string {
  return $this->config
    ->get('location') . '/' . static::FILENAME;
}