xPDO.setLogLevel

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

Suggest an edit to this page on GitHub (Requires GitHub account. Opens a new window/tab) or become an editor of the MODX Documentation.