C_LOGGER_ECHO
C_LOGGER_ECHO
Logger modes
Debug logger.
A special logger for debugging purposes. Provides debugging logging functions for RedBeanPHP.
setMode(integer $mode) : self
Selects a logging mode.
There are several options available.
integer | $mode | mode of operation for logging object |
setOverrideCLIOutput(boolean $yesNo) : void
Toggles CLI override. By default debugging functions will output differently based on PHP_SAPI values. This function allows you to override the PHP_SAPI setting. If you set this to TRUE, CLI output will be suppressed in favour of HTML output. So, to get HTML on the command line use setOverrideCLIOutput( TRUE ).
boolean | $yesNo | CLI-override setting flag |
setUseStringOnlyBinding(boolean $yesNo = false) : self
Whether to bind all parameters as strings.
If set to TRUE this will cause all integers to be bound as STRINGS. This will NOT affect NULL values.
boolean | $yesNo | pass TRUE to bind all parameters as strings. |