class DebugLog in Realistic Dummy Content 8
This log class can be used whenever you need a Log
Hierarchy
Expanded class hierarchy of DebugLog
1 file declares its use of DebugLog
- RealisticDummyContentDbTestCase.php in api/
src/ Tests/ RealisticDummyContentDbTestCase.php - This file contains the testing code which requires the database. These tests are slower than the unit tests so we want to limit them.
File
- api/
src/ loggers/ DebugLog.php, line 16 - Define autoload class.
Namespace
Drupal\realistic_dummy_content_api\loggersView source
class DebugLog implements Log {
public function log($text, $vars = array()) {
debug(t($text, $vars));
}
public function error($text, $vars = array()) {
debug(t($text, $vars));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DebugLog:: |
public | function |
Overrides Log:: |
|
DebugLog:: |
public | function |
Overrides Log:: |