We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee4af2a commit b762a3bCopy full SHA for b762a3b
README.md
@@ -34,6 +34,7 @@ $rotation
34
->truncate() // Optional, truncate the original log file in place after creating a copy, instead of moving the old log file.
35
->then(function ($filenameTarget, $filenameRotated) {}) // Optional, to get filename target and original filename
36
->catch(function (RotationFailed $exception) {}) // Optional, to catch a exception in rotating
37
+ ->finally(function ($message, $filenameTarget) {}) // Optional, this method will be called when the process has finished
38
->rotate('file.log');
39
```
40
0 commit comments