| [ 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: | 221 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: \Psr\Log\LoggerInterface|null $logger Record profiles through this interface. |
| setActive(bool $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(string $logLevel) X-Ref |
| Level at which to log profile messages. param: string $logLevel A PSR LogLevel constant. return: void |
| getLogFormat() X-Ref |
| Returns the log message format string, with placeholders. return: string |
| setLogFormat(string $logFormat) X-Ref |
| Sets the log message format string, with placeholders. param: string $logFormat return: void |
| start(string $function) X-Ref |
| Starts a profile entry. param: string $function The function starting the profile entry. return: void |
| finish(?string $statement = null, array $values = []) X-Ref |
| Finishes and logs a profile entry. param: string|null $statement The statement being profiled, if any. param: array $values The values bound to the statement, if any. return: void |
| Generated: Wed Nov 5 05:10:36 2025 | Cross-referenced by PHPXref 0.7.1 |