403Webshell
Server IP : 162.215.171.210  /  Your IP : 216.73.216.50
Web Server : Apache
System : Linux 162-215-171-210.bluehost.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : swansondentalgro ( 1070)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/swansondentalgro/.trash/mu-plugins-old/wpe-cache-plugin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/swansondentalgro/.trash/mu-plugins-old/wpe-cache-plugin/logging-trait.php
<?php

declare(strict_types=1);
namespace wpengine\cache_plugin;

// phpcs:disable WordPress.PHP.DevelopmentFunctions

abstract class CachePluginLoggingTags {
	const WPE_CACHE_PLUGIN_INFO_LOG_TAG    = 'wpe_cache_plugin:info:';
	const WPE_CACHE_PLUGIN_ERROR_LOG_TAG   = 'wpe_cache_plugin:error:';
	const WPE_CACHE_PLUGIN_WARNING_LOG_TAG = 'wpe_cache_plugin:warning:';
}

trait CachePluginLoggingTrait {
	protected function log_info( $message ) {
		error_log( CachePluginLoggingTags::WPE_CACHE_PLUGIN_INFO_LOG_TAG . ' ' . $message );
	}

	protected function log_error( $message ) {
		error_log( CachePluginLoggingTags::WPE_CACHE_PLUGIN_ERROR_LOG_TAG . ' ' . $message );
	}

	protected static function log_warning_static( $message ) {
		error_log( CachePluginLoggingTags::WPE_CACHE_PLUGIN_WARNING_LOG_TAG . ' ' . $message );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit