class Logger (View source)

Methods

__construct(CyclicReferenceStack $stack)

Instantiate a Calculation engine logger.

setWriteDebugLog(bool $pValue)

Enable/Disable Calculation engine logging.

bool
getWriteDebugLog()

Return whether calculation engine logging is enabled or disabled.

setEchoDebugLog(bool $pValue)

Enable/Disable echoing of debug log information.

bool
getEchoDebugLog()

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

writeDebugLog(...$args)

Write an entry to the calculation engine debug log.

clearLog()

Clear the calculation engine debug log.

string[]
getLog()

Return the calculation engine debug log.

Details

__construct(CyclicReferenceStack $stack)

Instantiate a Calculation engine logger.

Parameters

CyclicReferenceStack $stack

setWriteDebugLog(bool $pValue)

Enable/Disable Calculation engine logging.

Parameters

bool $pValue

bool getWriteDebugLog()

Return whether calculation engine logging is enabled or disabled.

Return Value

bool

setEchoDebugLog(bool $pValue)

Enable/Disable echoing of debug log information.

Parameters

bool $pValue

bool getEchoDebugLog()

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

Return Value

bool

writeDebugLog(...$args)

Write an entry to the calculation engine debug log.

Parameters

...$args

clearLog()

Clear the calculation engine debug log.

string[] getLog()

Return the calculation engine debug log.

Return Value

string[]