diff --git a/lib/Cake/Utility/Debugger.php b/lib/Cake/Utility/Debugger.php index 281453f5f..0b7a96bed 100644 --- a/lib/Cake/Utility/Debugger.php +++ b/lib/Cake/Utility/Debugger.php @@ -181,7 +181,9 @@ class Debugger { * as well as export the variable using exportVar. By default the log is written to the debug log. * * @param mixed $var Variable or content to log - * @param int $level type of log to use. Defaults to LOG_DEBUG + * @param int|string $level Type of log to use. Defaults to LOG_DEBUG. When value is an integer + * or a string matching the recognized levels, then it will + * be treated log levels. Otherwise it's treated as scope. * @param int $depth The depth to output to. Defaults to 3. * @return void * @link https://book.cakephp.org/2.0/en/development/debugging.html#Debugger::log