Improve documentation

The parameter description is copied from `CakeLog::write` method.
This commit is contained in:
Val Bancer 2018-10-26 09:54:23 +02:00 committed by GitHub
parent 2acad7e94d
commit 3c9d46864e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,7 +181,9 @@ class Debugger {
* as well as export the variable using exportVar. By default the log is written to the debug log. * 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 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. * @param int $depth The depth to output to. Defaults to 3.
* @return void * @return void
* @link https://book.cakephp.org/2.0/en/development/debugging.html#Debugger::log * @link https://book.cakephp.org/2.0/en/development/debugging.html#Debugger::log