RotationTrait

trait OCP\Log\RotationTrait
Trait RotationTrait
Source:lib/public/Log/RotationTrait.php#32

Properties

protected static property OCP\Log\RotationTrait::$filePath
Source:lib/public/Log/RotationTrait.php#38
Type:string
Since:14.0.0
protected static property OCP\Log\RotationTrait::$maxSize
Source:lib/public/Log/RotationTrait.php#44
Type:int
Since:14.0.0

Methods

protected OCP\Log\RotationTrait::rotate()
Source:lib/public/Log/RotationTrait.php#50
Returns:string the resulting new filepath
Since:14.0.0
protected OCP\Log\RotationTrait::shouldRotateBySize()
Source:lib/public/Log/RotationTrait.php#60
Returns:bool
Since:14.0.0