A newer version of this documentation is available.

View Latest

Setting up logging

The PHP SDK does not currently have any built logging available.

You can set the environment variable LCB_LOGLEVEL to various levels from 0 (none - default) to 5 (debug level) to have varying levels of debug output sent to the console from the C SDK which is used internally by the PHP SDK.