[ Index ] |
PHP Cross Reference of YOURLS |
[Source view] [Print] [Project Stats]
This file is part of Aura for PHP.
License: | https://opensource.org/licenses/MIT MIT |
File Size: | 229 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Profiler:: (10 methods):
__construct()
setActive()
isActive()
getLogger()
getLogLevel()
setLogLevel()
getLogFormat()
setLogFormat()
start()
finish()
__construct(LoggerInterface $logger = null) X-Ref |
Constructor. param: LoggerInterface $logger Record profiles through this interface. |
setActive($active) X-Ref |
Enable or disable profiler logging. param: bool $active |
isActive() X-Ref |
Returns true if logging is active. return: bool |
getLogger() X-Ref |
Returns the underlying logger instance. return: \Psr\Log\LoggerInterface |
getLogLevel() X-Ref |
Returns the level at which to log profile messages. return: string |
setLogLevel($logLevel) X-Ref |
Level at which to log profile messages. return: null param: string $logLevel A PSR LogLevel constant. |
getLogFormat() X-Ref |
Returns the log message format string, with placeholders. return: string |
setLogFormat($logFormat) X-Ref |
Sets the log message format string, with placeholders. return: null param: string $logFormat |
start($function) X-Ref |
Starts a profile entry. return: null param: string $function The function starting the profile entry. |
finish($statement = null, array $values = []) X-Ref |
Finishes and logs a profile entry. return: null param: string $statement The statement being profiled, if any. param: array $values The values bound to the statement, if any. |
Generated: Tue Jan 21 05:10:11 2025 | Cross-referenced by PHPXref 0.7.1 |