protected static function S3fsStream::_debug in S3 File System 8.2
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.
36 calls to S3fsStream::_debug()
- S3fsStream::dir_closedir in src/
StreamWrapper/ S3fsStream.php - Support for closedir().
- S3fsStream::dir_opendir in src/
StreamWrapper/ S3fsStream.php - Support for opendir().
- S3fsStream::dir_readdir in src/
StreamWrapper/ S3fsStream.php - Support for readdir().
- S3fsStream::dir_rewinddir in src/
StreamWrapper/ S3fsStream.php - Support for rewinddir().
- S3fsStream::getDirectoryPath in src/
StreamWrapper/ S3fsStream.php - Gets the path that the wrapper is responsible for.
File
- src/
StreamWrapper/ S3fsStream.php, line 1572
Class
- S3fsStream
- Defines a Drupal s3fs (s3fs://) stream wrapper class.
Namespace
Drupal\s3fs\StreamWrapperCode
protected static function _debug($msg, $internal = FALSE) {
global $_s3fs_debug, $_s3fs_debug_internal;
if ($_s3fs_debug && (!$internal || $_s3fs_debug_internal)) {
debug($msg);
}
}