Interface Yiisoft\Log\Target\File\FileRotatorInterface
| Implemented by | Yiisoft\Log\Target\File\FileRotator |
|---|
Interface for FileRotator
Public Methods
| Method | Description | Defined By |
|---|---|---|
| rotateFile() | Rotates files. | Yiisoft\Log\Target\File\FileRotatorInterface |
| shouldRotateFile() | Checks whether the file should be rotated. | Yiisoft\Log\Target\File\FileRotatorInterface |
Method Details
Rotates files.
| public abstract void rotateFile ( string $file ) | ||
| $file | string |
The log file for rotation. |
public function rotateFile(string $file): void;
Checks whether the file should be rotated.
| public abstract boolean shouldRotateFile ( string $file ) | ||
| $file | string |
The log file for rotation. |
| return | boolean |
Whether you should rotate the file. |
|---|---|---|
public function shouldRotateFile(string $file): bool;
Signup or Login in order to comment.