You are here

function resource_debug in D7 Media 6

Debug Logging function.

6 calls to resource_debug()
ResourceReadOnlyStreamWrapper::stream_open in resource/ResourceReadOnlyStreamWrapper.inc
Support for fopen(), file_get_contents(), file_put_contents() etc.
ResourceStreamTestCase::setUp in resource/tests/ResourceStream.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
ResourceStreamWrapper::stream_close in resource/ResourceStreamWrapper.inc
Support for fclose().
ResourceStreamWrapper::stream_open in resource/ResourceStreamWrapper.inc
Support for fopen(), file_get_contents(), file_put_contents() etc.
ResourceStreamWrapper::stream_read in resource/ResourceStreamWrapper.inc
Support for fread(), file_get_contents() etc.

... See full list

File

resource/resource.module, line 91
Resource API for Drupal, a replacement for files.

Code

function resource_debug($message) {
  if (TRUE) {
    watchdog('stream', $message, array(), WATCHDOG_DEBUG);
  }
}