function _drd_server_watchdog in Drupal Remote Dashboard Server 7.2
Same name and namespace in other branches
- 6.2 drd_server.module \_drd_server_watchdog()
Internal watchdog replacement which only reports to watchdog if debugging is switched on by the remote DRD dashboard.
Parameters
string $type: Type of watchdog report.
string $message: Message of the watchdog report.
array $variables: Parameters for the watchdog report.
int $severity: Severity of the watchdog report.
string $link: Optional link associated with the watchdog report.
5 calls to _drd_server_watchdog()
- drd_server_key in ./
drd_server.module - This is called to update the excryption keys for this server and all it's domains hosted in the same Drupal installation.
- drd_server_read_sites in ./
drd_server.module - Determines all available sites/domains in the current Drupal installation.
- drd_server_server_check_host in ./
drd_server.server.inc - Function called by drd_server_server_domains() to check a specific URL if it really exists and if the module drd_server is installed.
- _drd_server_read_settings in ./
drd_server.module - Safely read the settings.php file and return the relevant variables.
- _drd_server_validate_request in ./
drd_server.module - Callback to validate a request that's coming from DRD.
File
- ./
drd_server.module, line 1083 - Provides XMLRPC implementation to respond to requests from DRD.
Code
function _drd_server_watchdog($message, $variables = array(), $severity = WATCHDOG_NOTICE, $link = NULL) {
if (_drd_server_debug_mode()) {
watchdog('DRD Server', $message, $variables, $severity, $link);
}
}