\PhpOffice\PhpSpreadsheet\Calculation\EngineLogger

Summary

Methods
Properties
Constants
__construct()
setWriteDebugLog()
getWriteDebugLog()
setEchoDebugLog()
getEchoDebugLog()
writeDebugLog()
clearLog()
getLog()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$writeDebugLog
$echoDebugLog
$debugLog
$cellStack
N/A

Properties

$writeDebugLog

$writeDebugLog : boolean

Flag to determine whether a debug log should be generated by the calculation engine If true, then a debug log will be generated If false, then a debug log will not be generated.

Type

boolean

$echoDebugLog

$echoDebugLog : boolean

Flag to determine whether a debug log should be echoed by the calculation engine If true, then a debug log will be echoed If false, then a debug log will not be echoed A debug log can only be echoed if it is generated.

Type

boolean

$debugLog

$debugLog : array<mixed,string>

The debug log generated by the calculation engine.

Type

array<mixed,string>

Methods

setWriteDebugLog()

setWriteDebugLog(boolean  $pValue) 

Enable/Disable Calculation engine logging.

Parameters

boolean $pValue

getWriteDebugLog()

getWriteDebugLog() : boolean

Return whether calculation engine logging is enabled or disabled.

Returns

boolean

setEchoDebugLog()

setEchoDebugLog(boolean  $pValue) 

Enable/Disable echoing of debug log information.

Parameters

boolean $pValue

getEchoDebugLog()

getEchoDebugLog() : boolean

Return whether echoing of debug log information is enabled or disabled.

Returns

boolean

writeDebugLog()

writeDebugLog(  $args) 

Write an entry to the calculation engine debug log.

Parameters

$args

clearLog()

clearLog() 

Clear the calculation engine debug log.

getLog()

getLog() : array<mixed,string>

Return the calculation engine debug log.

Returns

array<mixed,string>