You are here

private function Bakery::debug in Bakery Single Sign-On System 7.3

4 calls to Bakery::debug()
Bakery::bakeData in ./bakery.inc
Serialze, sign and encode data for secure transport.
Bakery::validateData in ./bakery.inc
Validate and decrypt baked data.
Bakery::validateSsoCookie in ./bakery.inc
Check and validate account SSO cookie for request.
Bakery::validateSubCookie in ./bakery.inc
Check and validate cookie used in login or registration from sub-site.

File

./bakery.inc, line 349

Class

Bakery

Code

private function debug($message, $data = array()) {
  if ($this->debug) {

    // @todo strip out pass
    watchdog('Bakery', '@message @data', array(
      '@message' => $message,
      '@data' => var_export($data, TRUE),
    ), WATCHDOG_DEBUG);
  }
}