Current Path: > home > transcarter > public_html > wp-content > plugins > query-monitor > classes
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.135 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Activation.php | File | 3038 bytes | July 17 2025 21:05:45. | |
Backtrace.php | File | 14755 bytes | July 17 2025 21:05:45. | |
CLI.php | File | 1568 bytes | July 17 2025 21:05:45. | |
Collector.php | File | 8676 bytes | July 17 2025 21:05:45. | |
Collector_Assets.php | File | 13804 bytes | July 17 2025 21:05:45. | |
Collectors.php | File | 1923 bytes | July 17 2025 21:05:45. | |
Component.php | File | 257 bytes | July 17 2025 21:05:45. | |
DB.php | File | 1601 bytes | July 17 2025 21:05:45. | |
Data.php | File | 1343 bytes | July 17 2025 21:05:45. | |
DataCollector.php | File | 396 bytes | July 17 2025 21:05:45. | |
Dispatcher.php | File | 5244 bytes | July 17 2025 21:05:45. | |
Dispatchers.php | File | 1241 bytes | July 17 2025 21:05:45. | |
Hook.php | File | 1706 bytes | July 17 2025 21:05:45. | |
Output.php | File | 923 bytes | July 17 2025 21:05:45. | |
PHP.php | File | 1397 bytes | July 17 2025 21:05:45. | |
Plugin.php | File | 2400 bytes | July 17 2025 21:05:45. | |
QM.php | File | 4443 bytes | July 17 2025 21:05:45. | |
QueryMonitor.php | File | 8688 bytes | July 17 2025 21:05:45. | |
Timer.php | File | 2923 bytes | July 17 2025 21:05:45. | |
Util.php | File | 19534 bytes | July 17 2025 21:05:45. | |
debug_bar.php | File | 1713 bytes | July 17 2025 21:05:45. | |
debug_bar_panel.php | File | 1446 bytes | July 17 2025 21:05:45. |
<?php declare(strict_types = 1); /** * A convenience class for wrapping certain user-facing functionality. * * @package query-monitor */ class QM { /** * @param string $message * @param array<string, mixed> $context * @return void */ public static function emergency( $message, array $context = array() ) { /** * Fires when an `emergency` level message is logged. * * @since 3.1.0 * * @param mixed $message The message or data to log. * @param array $context The context passed. */ do_action( 'qm/emergency', $message, $context ); } /** * @param string $message * @param array<string, mixed> $context * @return void */ public static function alert( $message, array $context = array() ) { /** * Fires when an `alert` level message is logged. * * @since 3.1.0 * * @param mixed $message The message or data to log. * @param array $context The context passed. */ do_action( 'qm/alert', $message, $context ); } /** * @param string $message * @param array<string, mixed> $context * @return void */ public static function critical( $message, array $context = array() ) { /** * Fires when a `critical` level message is logged. * * @since 3.1.0 * * @param mixed $message The message or data to log. * @param array $context The context passed. */ do_action( 'qm/critical', $message, $context ); } /** * @param string $message * @param array<string, mixed> $context * @return void */ public static function error( $message, array $context = array() ) { /** * Fires when an `error` level message is logged. * * @since 3.1.0 * * @param mixed $message The message or data to log. * @param array $context The context passed. */ do_action( 'qm/error', $message, $context ); } /** * @param string $message * @param array<string, mixed> $context * @return void */ public static function warning( $message, array $context = array() ) { /** * Fires when a `warning` level message is logged. * * @since 3.1.0 * * @param mixed $message The message or data to log. * @param array $context The context passed. */ do_action( 'qm/warning', $message, $context ); } /** * @param string $message * @param array<string, mixed> $context * @return void */ public static function notice( $message, array $context = array() ) { /** * Fires when a `notice` level message is logged. * * @since 3.1.0 * * @param mixed $message The message or data to log. * @param array $context The context passed. */ do_action( 'qm/notice', $message, $context ); } /** * @param string $message * @param array<string, mixed> $context * @return void */ public static function info( $message, array $context = array() ) { /** * Fires when an `info` level message is logged. * * @since 3.1.0 * * @param mixed $message The message or data to log. * @param array $context The context passed. */ do_action( 'qm/info', $message, $context ); } /** * @param string $message * @param array<string, mixed> $context * @return void */ public static function debug( $message, array $context = array() ) { /** * Fires when a `debug` level message is logged. * * @since 3.1.0 * * @param mixed $message The message or data to log. * @param array $context The context passed. */ do_action( 'qm/debug', $message, $context ); } /** * @param mixed $assertion * @param string $message * @param ?mixed $value * @return void */ public static function assert( $assertion, string $message = '', $value = null ) { /** * Fires when an assertion is performed. * * @since x.y.z * * @param mixed $assertion The assertion result, ideally something that evaluates to true. * @param string $message The assertion message. May be an empty string. * @param mixed $value Optional. A value to show along with the message when the assertion fails. */ do_action( 'qm/assert', $assertion, $message, $value ); } /** * @param string $level * @param string $message * @param array<string, mixed> $context * @phpstan-param QM_Collector_Logger::* $level * @return void */ public static function log( $level, $message, array $context = array() ) { /** @var QM_Collector_Logger */ $logger = QM_Collectors::get( 'logger' ); $logger->log( $level, $message, $context ); } }
SILENT KILLER Tool