FileLog::chunkSize()

Get or set the default chunk size used when reading from logs and not overridden by method argument

Available since version 3.0.143.

Usage

// basic usage
$int = $fileLog->chunkSize();

// usage with all arguments
$int = $fileLog->chunkSize(int $chunkSize = 0);

Arguments

NameType(s)Description
$chunkSize (optional)int

Specify chunk size to set, or omit to get

Return value

int


FileLog methods and properties

API reference based on ProcessWire core version 3.0.253