Jump to main content Jump to doc navigation

xPDO::setLogLevel

Sets the logging level state for the XPDO instance.

Syntax

API Docs: http://api.modxcms.com/xpdo/xPDO.html#setLogLevel

Example

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

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

See Also