Jump to main content Jump to doc navigation

xPDO::setLogLevel

Sets the logging level state for the XPDO instance.

Syntax

API Docs: https://api.modx.com/revolution/2.2/db_core_xpdo_xpdo.class.html#\xPDO::setLogLevel()

Example

Set the log level to show log messages with at least INFO status.

$xpdo->setLogLevel(xPDO::LOG_LEVEL_INFO);

See Also