CakePHP Cookbook 2.x
Debugging stackTrace(array $options = array()) If the application’s DEBUG level is non-zero, the stack trace is printed out. env(string $key) Gets an environment variable from available sources. Used as a including anonymous functions. level - int - The level of errors you are interested in capturing. trace - boolean - Include stack traces for errors in log files. Exception Configure the Exception handler ', array( 'handler' => 'ErrorHandler::handleError', 'level' => E_ALL & ~E_DEPRECATED, 'trace' => true )); You have 5 built-in options when configuring error handlers: handler - callback -0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
Debugging stackTrace(array $options = array()) If the application’s DEBUG level is non-zero, the stack trace is printed out. env(string $key) Gets an environment variable from available sources. Used as a including anony- mous functions. • level - int - The level of errors you are interested in capturing. • trace - boolean - Include stack traces for errors in log files. Exception Configure the Exception handler Configure::write('Error', array( 'handler' => 'ErrorHandler::handleError', 'level' => E_ALL & ~E_DEPRECATED, 'trace' => true )); You have 5 built-in options when configuring error handlers: • handler - callback0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook Documentation 5.xDebugger::dump Masking Data Logging With Stack Traces Debugger::log Generating Stack Traces Debugger::trace Getting an Excerpt From a File Debugger::excerpt Debugger::getType Editor Integration Using Logging stackTrace() The stackTrace() function is available globally, and allows you to output a stack trace wherever the function is called. breakpoint() If you have Psysh [https://psysh.org/] installed you Stack Traces static Cake\Error\Debugger::log($var, $level = 7, $depth = 3) Creates a detailed stack trace log at the time of invocation. The log() method prints out data similar to that done by Debugger::dump()0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.xstackTrace() The stackTrace() function is available globally, and allows you to output a stack trace wherever the function is called. breakpoint() If you have Psysh136 installed you can use this function Stack Traces static Cake\Error\Debugger::log($var, $level = 7, $depth = 3) Creates a detailed stack trace log at the time of invocation. The log() method prints out data similar to that done by Debugger::dump() correctly. Generating Stack Traces static Cake\Error\Debugger::trace($options) Returns the current stack trace. Each line of the trace includes the calling method, including which file and line the call0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
Debugger::dump Masking Data Logging With Stack Traces Debugger::log Generating Stack Traces Debugger::trace Getting an Excerpt From a File Debugger::excerpt Debugger::getType Editor Integration Using Logging stackTrace() The stackTrace() function is available globally, and allows you to output a stack trace wherever the function is called. breakpoint() If you have Psysh [https://psysh.org/] installed you Stack Traces static Cake\Error\Debugger::log($var, $level = 7, $depth = 3) Creates a detailed stack trace log at the time of invocation. The log() method prints out data similar to that done by Debugger::dump()0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 3.x
stackTrace() The stackTrace() function is available globally, and allows you to output a stack trace wherever the function is called. breakpoint() New in version 3.1. 691 CakePHP Cookbook Documentation Stack Traces static Cake\Error\Debugger::log($var, $level = 7, $depth = 3) Creates a detailed stack trace log at the time of invocation. The log() method prints out data similar to that done by Debugger::dump() correctly. Generating Stack Traces static Cake\Error\Debugger::trace($options) Returns the current stack trace. Each line of the trace includes the calling method, including which file and line the call0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 4.x
stackTrace() The stackTrace() function is available globally, and allows you to output a stack trace wherever the function is called. breakpoint() If you have Psysh150 installed you can use this function Stack Traces static Cake\Error\Debugger::log($var, $level = 7, $depth = 3) Creates a detailed stack trace log at the time of invocation. The log() method prints out data similar to that done by Debugger::dump() correctly. Generating Stack Traces static Cake\Error\Debugger::trace($options) Returns the current stack trace. Each line of the trace includes the calling method, including which file and line the call0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 3.x
stackTrace() The stackTrace() function is available globally, and allows you to output a stack trace wherever the function is called. breakpoint() New in version 3.1. If you have Psysh [https://psysh Stack Traces static Cake\Error\Debugger::log($var, $level = 7, $depth = 3) Creates a detailed stack trace log at the time of invocation. The log() method prints out data similar to that done by Debugger::dump() correctly. Generating Stack Traces static Cake\Error\Debugger::trace($options) Returns the current stack trace. Each line of the trace includes the calling method, including which file and line the call0 码力 | 1244 页 | 1.05 MB | 1 年前3
共 8 条
- 1













