✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ premium290.web-hosting.com ​🇻​♯➤ 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 63.250.38.37 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.224
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/tdhomesa/public_html/wp-content/plugins/wp-optimize/includes//class-updraft-logger.php
<?php

if (!defined('ABSPATH')) die('No direct access allowed');

require_once('class-updraft-logger-interface.php');
require_once('class-updraft-log-levels.php');
require_once('class-updraft-abstract-logger.php');
require_once('class-updraft-logger.php');

if (class_exists('Updraft_Logger')) return;

/**
 * Class Updraft_Logger
 */
class Updraft_Logger implements Updraft_Logger_Interface {
	
	/**
	 * Array of loggers
	 *
	 * @var Updraft_Logger_Interface[]
	 */
	protected $_loggers = array();

	/**
	 * Constructor method
	 *
	 * @param Updraft_Logger_Interface|null $logger
	 */
	public function __construct($logger = null) {
		if (!empty($logger)) $this->_loggers = array($logger);
	}

	/**
	 * Returns singleton instance object
	 *
	 * @return Updraft_Logger Returns `Updraft_Logger` object
	 */
	public static function instance() {
		static $_instance = null;
		if (null === $_instance) {
			$_instance = new self();
		}
		return $_instance;
	}
	
	/**
	 * Add logger to loggers list
	 *
	 * @param Updraft_Logger_Interface $logger
	 * @return false|void
	 */
	public function add_logger($logger) {
		$logger_id = $logger_class = get_class($logger);

		// don't add logger if it doesn't support multiple loggers.
		if (!empty($this->_loggers) && array_key_exists($logger_id, $this->_loggers) && false === $logger->is_allow_multiple()) return false;

		$index = 0;

		// get free id key.
		while (array_key_exists($logger_id, $this->_loggers)) {
			$index++;
			$logger_id = $logger_class.'_'.$index;
		}

		$this->_loggers[$logger_id] = $logger;
	}

	/**
	 * Return list of loggers
	 *
	 * @return array
	 */
	public function get_loggers() {
		return $this->_loggers;
	}

	/**
	 * System is unusable.
	 *
	 * @param  string $message
	 * @param  array  $context
	 * @return void
	 */
	public function emergency($message, $context = array()) {

		if (empty($this->_loggers)) return;

		foreach ($this->_loggers as $logger) {
			$logger->emergency($message, $context);
		}

	}

	/**
	 * Action must be taken immediately.
	 *
	 * Example: Entire website down, database unavailable, etc. This should
	 * trigger the SMS alerts and wake you up.
	 *
	 * @param  string $message
	 * @param  array  $context
	 * @return void
	 */
	public function alert($message, $context = array()) {

		if (empty($this->_loggers)) return;

		foreach ($this->_loggers as $logger) {
			$logger->alert($message, $context);
		}

	}

	/**
	 * Critical conditions.
	 *
	 * Example: Application component unavailable, unexpected exception.
	 *
	 * @param  string $message
	 * @param  array  $context
	 * @return void
	 */
	public function critical($message, $context = array()) {

		if (empty($this->_loggers)) return;

		foreach ($this->_loggers as $logger) {
			$logger->critical($message, $context);
		}

	}

	/**
	 * Runtime errors that do not require immediate action but should typically
	 * be logged and monitored.
	 *
	 * @param  string $message
	 * @param  array  $context
	 * @return void
	 */
	public function error($message, $context = array()) {

		if (empty($this->_loggers)) return;

		foreach ($this->_loggers as $logger) {
			$logger->error($message, $context);
		}

	}

	/**
	 * Exceptional occurrences that are not errors.
	 *
	 * Example: Use of deprecated APIs, poor use of an API, undesirable things
	 * that are not necessarily wrong.
	 *
	 * @param  string $message
	 * @param  array  $context
	 * @return void
	 */
	public function warning($message, $context = array()) {

		if (empty($this->_loggers)) return;

		foreach ($this->_loggers as $logger) {
			$logger->warning($message, $context);
		}

	}

	/**
	 * Normal but significant events.
	 *
	 * @param  string $message
	 * @param  array  $context
	 * @return void
	 */
	public function notice($message, $context = array()) {

		if (empty($this->_loggers)) return;

		foreach ($this->_loggers as $logger) {
			$logger->notice($message, $context);
		}

	}

	/**
	 * Interesting events.
	 *
	 * Example: User logs in, SQL logs.
	 *
	 * @param  string $message
	 * @param  array  $context
	 * @return void
	 */
	public function info($message, $context = array()) {

		if (empty($this->_loggers)) return;

		foreach ($this->_loggers as $logger) {
			$logger->info($message, $context);
		}

	}

	/**
	 * Detailed debug information.
	 *
	 * @param  string $message
	 * @param  array  $context
	 * @return void
	 */
	public function debug($message, $context = array()) {

		if (empty($this->_loggers)) return;

		foreach ($this->_loggers as &$logger) {
			$logger->debug($message, $context);
		}

	}

	/**
	 * Logs with an arbitrary level.
	 *
	 * @param string $message
	 * @param mixed  $level
	 * @param array  $context
	 * @return void
	 */
	public function log($message, $level, $context = array()) {

		if (empty($this->_loggers)) return;

		foreach ($this->_loggers as $logger) {
			$logger->log($message, $level, $context);
		}

	}
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
22 Jun 2026 6.38 AM
tdhomesa / tdhomesa
0755
blockui
--
5 Jun 2026 10.08 AM
tdhomesa / tdhomesa
0755
fragments
--
5 Jun 2026 10.08 AM
tdhomesa / tdhomesa
0755
list-tables
--
5 Jun 2026 10.08 AM
tdhomesa / tdhomesa
0755
tables
--
5 Jun 2026 10.08 AM
tdhomesa / tdhomesa
0755
backward-compatibility-functions.php
3.297 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644
class-re-smush-it-task.php
5.487 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644
class-updraft-abstract-logger.php
3.421 KB
24 Sep 2025 2.04 AM
tdhomesa / tdhomesa
0644
class-updraft-email-logger.php
4.027 KB
24 Sep 2025 2.04 AM
tdhomesa / tdhomesa
0644
class-updraft-file-logger.php
4.156 KB
24 Sep 2025 2.04 AM
tdhomesa / tdhomesa
0644
class-updraft-log-levels.php
0.89 KB
20 Feb 2018 4.52 PM
tdhomesa / tdhomesa
0644
class-updraft-logger-interface.php
2.731 KB
24 Sep 2025 2.04 AM
tdhomesa / tdhomesa
0644
class-updraft-logger.php
4.779 KB
24 Sep 2025 2.04 AM
tdhomesa / tdhomesa
0644
class-updraft-php-logger.php
2.7 KB
24 Sep 2025 2.04 AM
tdhomesa / tdhomesa
0644
class-updraft-ring-logger.php
3.941 KB
24 Sep 2025 2.04 AM
tdhomesa / tdhomesa
0644
class-updraft-smush-manager-commands.php
25.793 KB
25 May 2026 12.53 PM
tdhomesa / tdhomesa
0644
class-updraft-smush-manager.php
59.759 KB
25 May 2026 12.53 PM
tdhomesa / tdhomesa
0644
class-updraft-smush-task.php
13.698 KB
25 May 2026 12.53 PM
tdhomesa / tdhomesa
0644
class-updraftcentral-wp-optimize-commands.php
1.231 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644
class-wp-optimization.php
13.977 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-404-detector-cron.php
1.033 KB
9 Dec 2024 5.24 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-404-detector.php
15.4 KB
11 Feb 2026 4.20 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-admin.php
35.975 KB
25 May 2026 12.53 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-browser-cache.php
9.74 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-bypass.php
2.437 KB
11 Feb 2026 4.20 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-commands.php
71.616 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-database-information.php
18.986 KB
25 Mar 2026 2.42 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-delay-js.php
10.337 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-gzip-compression.php
10.79 KB
24 Sep 2025 2.04 AM
tdhomesa / tdhomesa
0644
class-wp-optimize-heartbeat.php
4.476 KB
25 May 2026 12.53 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-htaccess.php
8.799 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-http-error-codes-trait.php
8.823 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-install-or-update-notice.php
3.245 KB
24 Sep 2025 2.04 AM
tdhomesa / tdhomesa
0644
class-wp-optimize-notices.php
15.679 KB
5 Jun 2026 10.44 AM
tdhomesa / tdhomesa
0644
class-wp-optimize-options.php
16.326 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-performance.php
3.981 KB
25 Mar 2026 2.42 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-preloader.php
18.48 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-server-information.php
4.836 KB
25 May 2026 12.53 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-system-status-report.php
12.236 KB
24 Sep 2025 2.04 AM
tdhomesa / tdhomesa
0644
class-wp-optimize-table-management.php
4.076 KB
25 Mar 2026 2.42 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-transients-cache.php
3.33 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-updates.php
12.28 KB
11 Feb 2026 4.20 PM
tdhomesa / tdhomesa
0644
class-wp-optimize-utils.php
13.345 KB
25 May 2026 12.53 PM
tdhomesa / tdhomesa
0644
class-wp-optimizer.php
21.528 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644
class-wpo-activation.php
3.693 KB
25 May 2026 12.53 PM
tdhomesa / tdhomesa
0644
class-wpo-ajax.php
12.609 KB
24 Sep 2025 2.04 AM
tdhomesa / tdhomesa
0644
class-wpo-deactivation.php
0.521 KB
6 Mar 2024 9.29 PM
tdhomesa / tdhomesa
0644
class-wpo-image-utils.php
1.715 KB
25 May 2026 12.53 PM
tdhomesa / tdhomesa
0644
class-wpo-onboarding.php
23.725 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644
class-wpo-page-optimizer.php
6.637 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644
class-wpo-uninstall.php
5.589 KB
25 May 2026 12.53 PM
tdhomesa / tdhomesa
0644
updraftcentral.php
1.638 KB
21 Apr 2026 8.53 PM
tdhomesa / tdhomesa
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF