protected static function S3fsStreamWrapper::_debug in S3 File System 7.2
Same name and namespace in other branches
- 7 S3fsStreamWrapper.inc \S3fsStreamWrapper::_debug()
Logging function used for debugging.
This function only writes anything if the global variable $_s3fs_debug is TRUE.
Parameters
string $msg: The debug message to log.
bool $internal: If this is TRUE, don't log $msg unless $_s3fs_debug_internal is TRUE.
40 calls to S3fsStreamWrapper::_debug()
- S3fsStreamWrapper::chmod in ./
S3fsStreamWrapper.inc - This wrapper doesn't support file permissions.
- S3fsStreamWrapper::dirname in ./
S3fsStreamWrapper.inc - Gets the name of the parent directory of a given path.
- S3fsStreamWrapper::dir_closedir in ./
S3fsStreamWrapper.inc - Support for closedir().
- S3fsStreamWrapper::dir_opendir in ./
S3fsStreamWrapper.inc - Support for opendir().
- S3fsStreamWrapper::dir_readdir in ./
S3fsStreamWrapper.inc - Support for readdir().
File
- ./
S3fsStreamWrapper.inc, line 1572 - Drupal stream wrapper implementation for S3 File System.
Class
- S3fsStreamWrapper
- The stream wrapper class.
Code
protected static function _debug($msg, $internal = FALSE) {
global $_s3fs_debug, $_s3fs_debug_internal;
if ($_s3fs_debug && (!$internal || $_s3fs_debug_internal)) {
debug($msg);
}
}