interface LogFileManagerInterface in File Log 2.0.x
Same name and namespace in other branches
- 8 src/LogFileManagerInterface.php \Drupal\filelog\LogFileManagerInterface
Interface for the LogFileManager service.
Hierarchy
- interface \Drupal\filelog\LogFileManagerInterface
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\filelogView 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;
/**
* Set correct permissions on the log file.
*
* @return bool
* TRUE for success, FALSE in the event of an error.
*
* @see \Drupal\Core\File\FileSystemInterface::chmod()
*/
public function setFilePermissions() : bool;
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LogFileManagerInterface:: |
public | function | Ensure that the log directory exists. | 2 |
LogFileManagerInterface:: |
public | function | Get the complete filename of the log. | 2 |
LogFileManagerInterface:: |
public | function | Set correct permissions on the log file. | 2 |