mirror of
https://gh.wpcy.net/https://github.com/mainwp/mainwp.dev.git
synced 2026-07-17 06:34:55 +08:00
4169 lines
209 KiB
HTML
4169 lines
209 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>MainWP Dashboard Documentation</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<base href="../">
|
|
<link rel="icon" href="images/favicon.ico"/>
|
|
<link rel="stylesheet" href="css/normalize.css">
|
|
<link rel="stylesheet" href="css/base.css">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
|
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="css/template.css">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
|
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
|
<script src="js/template.js"></script>
|
|
<script src="js/search.js"></script>
|
|
<script defer src="js/searchIndex.js"></script>
|
|
</head>
|
|
<body id="top">
|
|
<header class="phpdocumentor-header phpdocumentor-section">
|
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">MainWP Dashboard Documentation</a></h1>
|
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
|
<i class="fas fa-bars"></i>
|
|
</label>
|
|
<section data-search-form class="phpdocumentor-search">
|
|
<label>
|
|
<span class="visually-hidden">Search for</span>
|
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
|
</svg>
|
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
|
</label>
|
|
</section>
|
|
|
|
<nav class="phpdocumentor-topnav">
|
|
<ul class="phpdocumentor-topnav__menu">
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="phpdocumentor">
|
|
<div class="phpdocumentor-section">
|
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
|
Menu
|
|
</label>
|
|
<aside class="phpdocumentor-column -three phpdocumentor-sidebar">
|
|
<section class="phpdocumentor-sidebar__category -namespaces">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/mainwp.html" class="">MainWP</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/mainwp-dashboard.html" class="">Dashboard</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
</section>
|
|
<section class="phpdocumentor-sidebar__category -packages">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPDashboard.html" class="">MainWPDashboard</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPAPIManagerKeyHandler.html" class="">MainWPAPIManagerKeyHandler</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPMainWP.html" class="">MainWPMainWP</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWPMainWP-API.html" class="">API</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWPMainWP-Keys.html" class="">Keys</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWPMainWP-Client.html" class="">Client</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPAPIManagerUpdateHandler.html" class="">MainWPAPIManagerUpdateHandler</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPMainWPAPIManager.html" class="">MainWPMainWPAPIManager</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWP.html" class="">MainWP</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWP-Dashboard.html" class="">Dashboard</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWP-DashboardMainWPsitesclientlist.html" class="">DashboardMainWPsitesclientlist</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWP-DashboardThisclasshandlesthe.html" class="">DashboardThisclasshandlesthe</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWP-DashboardMainWPsitesmonitoringlist.html" class="">DashboardMainWPsitesmonitoringlist</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWP-DashboardCheckforpremiumpluginupdates.html" class="">DashboardCheckforpremiumpluginupdates</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPSettings.html" class="">MainWPSettings</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPBackups.html" class="">MainWPBackups</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWPBackups-Continue.html" class="">Continue</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPBootstrap.html" class="">MainWPBootstrap</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPUpdates.html" class="">MainWPUpdates</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWPUpdates-Check.html" class="">Check</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWPUpdates-Overview.html" class="">Overview</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPPingChilds.html" class="">MainWPPingChilds</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPStats.html" class="">MainWPStats</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPExtensions.html" class="">MainWPExtensions</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPSecurtiy.html" class="">MainWPSecurtiy</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWPSecurtiy-Issues.html" class="">Issues</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPSetup.html" class="">MainWPSetup</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWPSetup-Wizard.html" class="">Wizard</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPSite.html" class="">MainWPSite</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWPSite-Open.html" class="">Open</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPThemes.html" class="">MainWPThemes</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPUser.html" class="">MainWPUser</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPWidget.html" class="">MainWPWidget</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWPWidget-Mainwp.html" class="">Mainwp</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWPWidget-Recent.html" class="">Recent</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPPlugins.html" class="">MainWPPlugins</a>
|
|
</h4>
|
|
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category -reports">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="graphs/classes.html">Class Diagram</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category -indices">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
|
</section>
|
|
</aside>
|
|
|
|
<div class="phpdocumentor-column -nine phpdocumentor-content">
|
|
<section>
|
|
<ul class="phpdocumentor-breadcrumbs">
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/mainwp.html">MainWP</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/mainwp-dashboard.html">Dashboard</a></li>
|
|
</ul>
|
|
|
|
<article class="phpdocumentor-element -class">
|
|
<h2 class="phpdocumentor-content__title">
|
|
MainWP_Logger
|
|
|
|
|
|
<div class="phpdocumentor-element__package">
|
|
in package
|
|
<ul class="phpdocumentor-breadcrumbs">
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP.html">MainWP</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP-Dashboard.html">Dashboard</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
</h2>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
|
|
|
|
</div>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">17</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.17" class="phpdocumentor-element-found-in__source" data-line="17" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Class MainWP_Logger</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="toc">
|
|
Table of Contents
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 id="toc-constants">
|
|
Constants
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_API_BACKUPS_LOG_PRIORITY">API_BACKUPS_LOG_PRIORITY</a>
|
|
<span>
|
|
= 20240130 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_CONNECT_LOG_PRIORITY">CONNECT_LOG_PRIORITY</a>
|
|
<span>
|
|
= 20241001 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_COST_TRACKER_LOG_PRIORITY">COST_TRACKER_LOG_PRIORITY</a>
|
|
<span>
|
|
= 20230112 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_DEBUG">DEBUG</a>
|
|
<span>
|
|
= 3 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_DEBUG_COLOR">DEBUG_COLOR</a>
|
|
<span>
|
|
= '#666666' </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_DEBUG_UPDATES_SCHEDULE">DEBUG_UPDATES_SCHEDULE</a>
|
|
<span>
|
|
= 19 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_DISABLED">DISABLED</a>
|
|
<span>
|
|
= -1 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_EXECUTION_TIME_LOG_PRIORITY">EXECUTION_TIME_LOG_PRIORITY</a>
|
|
<span>
|
|
= 15 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_INFO">INFO</a>
|
|
<span>
|
|
= 2 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_INFO_COLOR">INFO_COLOR</a>
|
|
<span>
|
|
= '#276f86' </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_LOG">LOG</a>
|
|
<span>
|
|
= 0 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_LOG_COLOR">LOG_COLOR</a>
|
|
<span>
|
|
= '#999999' </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_LOGS_AUTO_PURGE_LOG_PRIORITY">LOGS_AUTO_PURGE_LOG_PRIORITY</a>
|
|
<span>
|
|
= 16 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_LOGS_REGULAR_SCHEDULE">LOGS_REGULAR_SCHEDULE</a>
|
|
<span>
|
|
= 18 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_UPDATE_CHECK_LOG_PRIORITY">UPDATE_CHECK_LOG_PRIORITY</a>
|
|
<span>
|
|
= 10 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_UPTIME_CHECK_LOG_PRIORITY">UPTIME_CHECK_LOG_PRIORITY</a>
|
|
<span>
|
|
= 20241017 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_UPTIME_NOTICE_LOG_PRIORITY">UPTIME_NOTICE_LOG_PRIORITY</a>
|
|
<span>
|
|
= 202411106 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_WARNING">WARNING</a>
|
|
<span>
|
|
= 1 </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_WARNING_COLOR">WARNING_COLOR</a>
|
|
<span>
|
|
= '#9f3a38;' </span>
|
|
</dt>
|
|
|
|
</dl>
|
|
|
|
|
|
<h4 id="toc-properties">
|
|
Properties
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#property_autoEnableLoggingActions">$autoEnableLoggingActions</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Private varibale to hold the log Specific priotrity.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#property_instance">$instance</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Private static varibale to hold the instance.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logDateFormat">$logDateFormat</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Private varibale to hold the log file date format.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logDirectory">$logDirectory</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Private varibale to hold the log file output directory.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logFileNamePrefix">$logFileNamePrefix</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Private varibale to hold the log file prefix.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logFileNameSuffix">$logFileNameSuffix</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Private varibale to hold the log file suffix.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logMaxMB">$logMaxMB</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>Private varibale to hold the log file max size.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logPriority">$logPriority</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Private varibale to hold the log file priotrity.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logSpecific">$logSpecific</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Private varibale to hold the log Specific priotrity.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#property_time_start">$time_start</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>Private variable to hold time start.</dd>
|
|
|
|
</dl>
|
|
|
|
<h4 id="toc-methods">
|
|
Methods
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_check_log_daily">check_log_daily()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method check_log_daily()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_clear_log">clear_log()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method clear_log()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_clear_log_db">clear_log_db()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method clear_log_db()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_debug">debug()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Method debug()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_debug_for_website">debug_for_website()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method debug_for_website()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_enable_log_priority">enable_log_priority()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method enable_log_priority()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_log_file">get_log_file()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method get_log_file()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_log_specific">get_log_specific()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method get_log_specific()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_log_status">get_log_status()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method get_log_status()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_log_text">get_log_text()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Method get_log_text()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_log_type_info">get_log_type_info()</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>Method get_log_type_info()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_info">info()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Method info()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_info_for_website">info_for_website()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method info_for_website()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_init_execution_time">init_execution_time()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method init_execution_time().</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_instance">instance()</a>
|
|
<span>
|
|
: self </span>
|
|
</dt>
|
|
<dd>Method instance()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_action">log_action()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Method actions()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_events">log_events()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method log_events().</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_execution_time">log_execution_time()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method log_execution_time().</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_update_check">log_update_check()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method log_update_check().</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_uptime_check">log_uptime_check()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method log_update_check().</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_uptime_notice">log_uptime_notice()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method log_uptime_notice().</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_prepare_log_info">prepare_log_info()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method prepare_log_info()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_prepend">prepend()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method prepend()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_set_log_priority">set_log_priority()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method set_log_priority()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_show_log_db">show_log_db()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method show_log_db()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_show_log_file">show_log_file()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method show_log_file()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_warning">warning()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Method warning()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_warning_for_website">warning_for_website()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Method warning_for_website()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method___construct">__construct()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>MainWP_Logger constructor.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_execution_time">get_execution_time()</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>Method get_execution_time().</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log">log()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Method log()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_to_db">log_to_db()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Method log_to_db()</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-constants">
|
|
<h3 class="phpdocumentor-elements__header" id="constants">
|
|
Constants
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_API_BACKUPS_LOG_PRIORITY">
|
|
API_BACKUPS_LOG_PRIORITY
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_API_BACKUPS_LOG_PRIORITY" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">27</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.27" class="phpdocumentor-element-found-in__source" data-line="27" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">API_BACKUPS_LOG_PRIORITY</span>
|
|
= <span class="phpdocumentor-signature__default-value">20240130</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_CONNECT_LOG_PRIORITY">
|
|
CONNECT_LOG_PRIORITY
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_CONNECT_LOG_PRIORITY" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">28</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.28" class="phpdocumentor-element-found-in__source" data-line="28" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">CONNECT_LOG_PRIORITY</span>
|
|
= <span class="phpdocumentor-signature__default-value">20241001</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_COST_TRACKER_LOG_PRIORITY">
|
|
COST_TRACKER_LOG_PRIORITY
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_COST_TRACKER_LOG_PRIORITY" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">26</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.26" class="phpdocumentor-element-found-in__source" data-line="26" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">COST_TRACKER_LOG_PRIORITY</span>
|
|
= <span class="phpdocumentor-signature__default-value">20230112</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_DEBUG">
|
|
DEBUG
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_DEBUG" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">35</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.35" class="phpdocumentor-element-found-in__source" data-line="35" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">DEBUG</span>
|
|
= <span class="phpdocumentor-signature__default-value">3</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_DEBUG_COLOR">
|
|
DEBUG_COLOR
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_DEBUG_COLOR" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">38</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.38" class="phpdocumentor-element-found-in__source" data-line="38" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">DEBUG_COLOR</span>
|
|
= <span class="phpdocumentor-signature__default-value">'#666666'</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_DEBUG_UPDATES_SCHEDULE">
|
|
DEBUG_UPDATES_SCHEDULE
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_DEBUG_UPDATES_SCHEDULE" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">25</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">DEBUG_UPDATES_SCHEDULE</span>
|
|
= <span class="phpdocumentor-signature__default-value">19</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_DISABLED">
|
|
DISABLED
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_DISABLED" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">31</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.31" class="phpdocumentor-element-found-in__source" data-line="31" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">DISABLED</span>
|
|
= <span class="phpdocumentor-signature__default-value">-1</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_EXECUTION_TIME_LOG_PRIORITY">
|
|
EXECUTION_TIME_LOG_PRIORITY
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_EXECUTION_TIME_LOG_PRIORITY" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">22</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.22" class="phpdocumentor-element-found-in__source" data-line="22" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">EXECUTION_TIME_LOG_PRIORITY</span>
|
|
= <span class="phpdocumentor-signature__default-value">15</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_INFO">
|
|
INFO
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_INFO" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">34</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.34" class="phpdocumentor-element-found-in__source" data-line="34" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">INFO</span>
|
|
= <span class="phpdocumentor-signature__default-value">2</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_INFO_COLOR">
|
|
INFO_COLOR
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_INFO_COLOR" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">39</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.39" class="phpdocumentor-element-found-in__source" data-line="39" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">INFO_COLOR</span>
|
|
= <span class="phpdocumentor-signature__default-value">'#276f86'</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_LOG">
|
|
LOG
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_LOG" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">32</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.32" class="phpdocumentor-element-found-in__source" data-line="32" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">LOG</span>
|
|
= <span class="phpdocumentor-signature__default-value">0</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_LOG_COLOR">
|
|
LOG_COLOR
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_LOG_COLOR" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">37</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.37" class="phpdocumentor-element-found-in__source" data-line="37" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">LOG_COLOR</span>
|
|
= <span class="phpdocumentor-signature__default-value">'#999999'</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_LOGS_AUTO_PURGE_LOG_PRIORITY">
|
|
LOGS_AUTO_PURGE_LOG_PRIORITY
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_LOGS_AUTO_PURGE_LOG_PRIORITY" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">23</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.23" class="phpdocumentor-element-found-in__source" data-line="23" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">LOGS_AUTO_PURGE_LOG_PRIORITY</span>
|
|
= <span class="phpdocumentor-signature__default-value">16</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_LOGS_REGULAR_SCHEDULE">
|
|
LOGS_REGULAR_SCHEDULE
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_LOGS_REGULAR_SCHEDULE" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">24</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">LOGS_REGULAR_SCHEDULE</span>
|
|
= <span class="phpdocumentor-signature__default-value">18</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_UPDATE_CHECK_LOG_PRIORITY">
|
|
UPDATE_CHECK_LOG_PRIORITY
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_UPDATE_CHECK_LOG_PRIORITY" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">21</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.21" class="phpdocumentor-element-found-in__source" data-line="21" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">UPDATE_CHECK_LOG_PRIORITY</span>
|
|
= <span class="phpdocumentor-signature__default-value">10</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_UPTIME_CHECK_LOG_PRIORITY">
|
|
UPTIME_CHECK_LOG_PRIORITY
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_UPTIME_CHECK_LOG_PRIORITY" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">29</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">UPTIME_CHECK_LOG_PRIORITY</span>
|
|
= <span class="phpdocumentor-signature__default-value">20241017</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_UPTIME_NOTICE_LOG_PRIORITY">
|
|
UPTIME_NOTICE_LOG_PRIORITY
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_UPTIME_NOTICE_LOG_PRIORITY" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">30</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.30" class="phpdocumentor-element-found-in__source" data-line="30" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">UPTIME_NOTICE_LOG_PRIORITY</span>
|
|
= <span class="phpdocumentor-signature__default-value">202411106</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_WARNING">
|
|
WARNING
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_WARNING" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">33</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.33" class="phpdocumentor-element-found-in__source" data-line="33" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">WARNING</span>
|
|
= <span class="phpdocumentor-signature__default-value">1</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_WARNING_COLOR">
|
|
WARNING_COLOR
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_WARNING_COLOR" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">40</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.40" class="phpdocumentor-element-found-in__source" data-line="40" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">WARNING_COLOR</span>
|
|
= <span class="phpdocumentor-signature__default-value">'#9f3a38;'</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
|
|
<section class="phpdocumentor-properties">
|
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
|
Properties
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_autoEnableLoggingActions">
|
|
$autoEnableLoggingActions
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_autoEnableLoggingActions" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">103</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.103" class="phpdocumentor-element-found-in__source" data-line="103" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Private varibale to hold the log Specific priotrity.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$autoEnableLoggingActions</span>
|
|
= <span class="phpdocumentor-signature__default-value">array()</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Disabled</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_instance">
|
|
$instance
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_instance" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">111</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.111" class="phpdocumentor-element-found-in__source" data-line="111" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Private static varibale to hold the instance.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">$instance</span>
|
|
= <span class="phpdocumentor-signature__default-value">null</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Default null</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_logDateFormat">
|
|
$logDateFormat
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logDateFormat" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">75</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.75" class="phpdocumentor-element-found-in__source" data-line="75" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Private varibale to hold the log file date format.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$logDateFormat</span>
|
|
= <span class="phpdocumentor-signature__default-value">'Y-m-d H:i:s'</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Default 'Y-m-d H:i:s'</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_logDirectory">
|
|
$logDirectory
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logDirectory" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">82</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.82" class="phpdocumentor-element-found-in__source" data-line="82" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Private varibale to hold the log file output directory.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">$logDirectory</span>
|
|
= <span class="phpdocumentor-signature__default-value">null</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Default null</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_logFileNamePrefix">
|
|
$logFileNamePrefix
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logFileNamePrefix" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">54</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.54" class="phpdocumentor-element-found-in__source" data-line="54" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Private varibale to hold the log file prefix.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$logFileNamePrefix</span>
|
|
= <span class="phpdocumentor-signature__default-value">'mainwp'</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Default 'mainwp'</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_logFileNameSuffix">
|
|
$logFileNameSuffix
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logFileNameSuffix" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">61</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.61" class="phpdocumentor-element-found-in__source" data-line="61" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Private varibale to hold the log file suffix.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$logFileNameSuffix</span>
|
|
= <span class="phpdocumentor-signature__default-value">'.log'</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Default '.log'</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_logMaxMB">
|
|
$logMaxMB
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logMaxMB" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">68</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.68" class="phpdocumentor-element-found-in__source" data-line="68" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Private varibale to hold the log file max size.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">int</span>
|
|
<span class="phpdocumentor-signature__name">$logMaxMB</span>
|
|
= <span class="phpdocumentor-signature__default-value">0.5</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Default 0.5</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_logPriority">
|
|
$logPriority
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logPriority" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">89</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.89" class="phpdocumentor-element-found-in__source" data-line="89" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Private varibale to hold the log file priotrity.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$logPriority</span>
|
|
= <span class="phpdocumentor-signature__default-value">self::DISABLED</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Disabled</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_logSpecific">
|
|
$logSpecific
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logSpecific" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">96</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.96" class="phpdocumentor-element-found-in__source" data-line="96" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Private varibale to hold the log Specific priotrity.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$logSpecific</span>
|
|
= <span class="phpdocumentor-signature__default-value">0</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Disabled</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_time_start">
|
|
$time_start
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_time_start" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">47</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.47" class="phpdocumentor-element-found-in__source" data-line="47" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Private variable to hold time start.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">int</span>
|
|
<span class="phpdocumentor-signature__name">$time_start</span>
|
|
= <span class="phpdocumentor-signature__default-value">null</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-methods">
|
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
|
Methods
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_check_log_daily">
|
|
check_log_daily()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_check_log_daily" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">754</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.754" class="phpdocumentor-element-found-in__source" data-line="754" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method check_log_daily()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">check_log_daily</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Daily checks to clear the log file.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_clear_log">
|
|
clear_log()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_clear_log" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">790</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.790" class="phpdocumentor-element-found-in__source" data-line="790" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method clear_log()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">clear_log</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Clear the log file.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_clear_log_db">
|
|
clear_log_db()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_clear_log_db" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">781</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.781" class="phpdocumentor-element-found-in__source" data-line="781" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method clear_log_db()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">clear_log_db</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Clear the log file.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_debug">
|
|
debug()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_debug" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">261</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.261" class="phpdocumentor-element-found-in__source" data-line="261" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method debug()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">debug</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$text</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Grab debug.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$text</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Debug message text.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_debug#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Api-Manager-Key.html#method_verify_api_key"><abbr title="\MainWP\Dashboard\MainWP_Api_Manager_Key::verify_api_key()">MainWP_Api_Manager_Key::verify_api_key()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Connect.html#method_try_visit"><abbr title="\MainWP\Dashboard\MainWP_Connect::try_visit()">MainWP_Connect::try_visit()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Hooks.html#method_mainwp_log_debug"><abbr title="\MainWP\Dashboard\MainWP_Hooks::mainwp_log_debug()">MainWP_Hooks::mainwp_log_debug()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Hooks.html#method_mainwp_log_action"><abbr title="\MainWP\Dashboard\MainWP_Hooks::mainwp_log_action()">MainWP_Hooks::mainwp_log_action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Hooks.html#method_mainwp_log_execution_time"><abbr title="\MainWP\Dashboard\MainWP_Hooks::mainwp_log_execution_time()">MainWP_Hooks::mainwp_log_execution_time()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification.html#method_send_http_check_notification"><abbr title="\MainWP\Dashboard\MainWP_Notification::send_http_check_notification()">MainWP_Notification::send_http_check_notification()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification.html#method_send_daily_digest_notification"><abbr title="\MainWP\Dashboard\MainWP_Notification::send_daily_digest_notification()">MainWP_Notification::send_daily_digest_notification()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification.html#method_send_websites_uptime_monitoring"><abbr title="\MainWP\Dashboard\MainWP_Notification::send_websites_uptime_monitoring()">MainWP_Notification::send_websites_uptime_monitoring()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification.html#method_send_websites_health_status_notification"><abbr title="\MainWP\Dashboard\MainWP_Notification::send_websites_health_status_notification()">MainWP_Notification::send_websites_health_status_notification()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Premium-Update.html#method_redirect_request_site"><abbr title="\MainWP\Dashboard\MainWP_Premium_Update::redirect_request_site()">MainWP_Premium_Update::redirect_request_site()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Sync.html#method_get_wp_icon"><abbr title="\MainWP\Dashboard\MainWP_Sync::get_wp_icon()">MainWP_Sync::get_wp_icon()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Cron-Jobs.html#method_cron_updates_check"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_updates_check()">MainWP_System_Cron_Jobs::cron_updates_check()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Cron-Jobs.html#method_start_notification_daily_digest"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::start_notification_daily_digest()">MainWP_System_Cron_Jobs::start_notification_daily_digest()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Cron-Jobs.html#method_cron_backups_continue"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_backups_continue()">MainWP_System_Cron_Jobs::cron_backups_continue()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Cron-Jobs.html#method_cron_backups"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_backups()">MainWP_System_Cron_Jobs::cron_backups()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System.html#method_wp_mail_failed"><abbr title="\MainWP\Dashboard\MainWP_System::wp_mail_failed()">MainWP_System::wp_mail_failed()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Log debug message.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_debug_for_website">
|
|
debug_for_website()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_debug_for_website" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">370</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.370" class="phpdocumentor-element-found-in__source" data-line="370" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method debug_for_website()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">debug_for_website</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">object </span><span class="phpdocumentor-signature__argument__name">$website</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$action</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$message</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Grab website debug and info.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$website</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">object</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Child site object.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$action</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Performed action.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$message</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Debug message.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_debug_for_website#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_nice_url"><abbr title="\MainWP\Dashboard\MainWP_Utility::get_nice_url()">MainWP_Utility::get_nice_url()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Backup-Handler.html#method_backup_site"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup_site()">MainWP_Backup_Handler::backup_site()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Backup-Handler.html#method_backup"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup()">MainWP_Backup_Handler::backup()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Connect.html#method_fetch_url_site"><abbr title="\MainWP\Dashboard\MainWP_Connect::fetch_url_site()">MainWP_Connect::fetch_url_site()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Website debug info.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_enable_log_priority">
|
|
enable_log_priority()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_enable_log_priority" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">173</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.173" class="phpdocumentor-element-found-in__source" data-line="173" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method enable_log_priority()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">enable_log_priority</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$logPriority</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$spec_log</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">1</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Sets the log priority.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$logPriority</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Log priority value.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$spec_log</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">1</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Specific log.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_log_file">
|
|
get_log_file()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_log_file" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">717</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.717" class="phpdocumentor-element-found-in__source" data-line="717" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method get_log_file()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get_log_file</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Grab Log File.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Log File.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_log_specific">
|
|
get_log_specific()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_log_specific" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">216</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.216" class="phpdocumentor-element-found-in__source" data-line="216" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method get_log_specific()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get_log_specific</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Get log specific status.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$enabled log status.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_log_status">
|
|
get_log_status()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_log_status" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">191</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.191" class="phpdocumentor-element-found-in__source" data-line="191" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method get_log_status()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get_log_status</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Get log status.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$enabled log status.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_log_text">
|
|
get_log_text()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_log_text" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">734</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.734" class="phpdocumentor-element-found-in__source" data-line="734" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method get_log_text()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get_log_text</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$priority</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Grab what type of log entry.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$priority</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Set priority.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>LOG -OR- DISABLED|DEBUG|INFO|WARNING|INFO UPDATE</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_log_type_info">
|
|
get_log_type_info()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_log_type_info" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">230</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.230" class="phpdocumentor-element-found-in__source" data-line="230" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method get_log_type_info()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get_log_type_info</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$type</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$logcolor</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Get log type info.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$type</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Log type value.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$logcolor</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Log color value.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$currentColor log color code.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_info">
|
|
info()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_info" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">274</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.274" class="phpdocumentor-element-found-in__source" data-line="274" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method info()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">info</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$text</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Grab info.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$text</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Info message text.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_info#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-DB-Base.html#method_test_connection"><abbr title="\MainWP\Dashboard\MainWP_DB_Base::test_connection()">MainWP_DB_Base::test_connection()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Hooks.html#method_mainwp_log_info"><abbr title="\MainWP\Dashboard\MainWP_Hooks::mainwp_log_info()">MainWP_Hooks::mainwp_log_info()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Cron-Jobs.html#method_cron_updates_check"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_updates_check()">MainWP_System_Cron_Jobs::cron_updates_check()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Cron-Jobs.html#method_cron_ping_childs"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_ping_childs()">MainWP_System_Cron_Jobs::cron_ping_childs()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Cron-Jobs.html#method_cron_backups_continue"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_backups_continue()">MainWP_System_Cron_Jobs::cron_backups_continue()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Cron-Jobs.html#method_cron_backups"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_backups()">MainWP_System_Cron_Jobs::cron_backups()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Cron-Jobs.html#method_cron_reconnect"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_reconnect()">MainWP_System_Cron_Jobs::cron_reconnect()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Cron-Jobs.html#method_cron_check_websites_health"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_check_websites_health()">MainWP_System_Cron_Jobs::cron_check_websites_health()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Cron-Jobs.html#method_start_notification_sites_health"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::start_notification_sites_health()">MainWP_System_Cron_Jobs::start_notification_sites_health()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Uptime-Monitoring-Schedule.html#method_send_uptime_notification_importance_status"><abbr title="\MainWP\Dashboard\MainWP_Uptime_Monitoring_Schedule::send_uptime_notification_importance_status()">MainWP_Uptime_Monitoring_Schedule::send_uptime_notification_importance_status()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Log info message.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_info_for_website">
|
|
info_for_website()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_info_for_website" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">391</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.391" class="phpdocumentor-element-found-in__source" data-line="391" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method info_for_website()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">info_for_website</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">object </span><span class="phpdocumentor-signature__argument__name">$website</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$action</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$message</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Grab Website Info.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$website</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">object</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Child site object.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$action</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Performed action.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$message</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Info message.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_info_for_website#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_nice_url"><abbr title="\MainWP\Dashboard\MainWP_Utility::get_nice_url()">MainWP_Utility::get_nice_url()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Cron-Jobs.html#method_cron_reconnect"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_reconnect()">MainWP_System_Cron_Jobs::cron_reconnect()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Website Info.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_init_execution_time">
|
|
init_execution_time()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_init_execution_time" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">655</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.655" class="phpdocumentor-element-found-in__source" data-line="655" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method init_execution_time().</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">init_execution_time</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$time_index</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$time_index</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>index for timer.</p>
|
|
<p>Init execution time start value.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_instance">
|
|
instance()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_instance" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">122</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.122" class="phpdocumentor-element-found-in__source" data-line="122" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method instance()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">instance</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Returns new MainWP_Logger instance.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_instance#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Logger.html"><abbr title="\MainWP\Dashboard\MainWP_Logger">MainWP_Logger</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">self</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>MainWP_Logger</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_log_action">
|
|
log_action()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_action" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">303</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.303" class="phpdocumentor-element-found-in__source" data-line="303" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method actions()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">log_action</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$text</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$priority</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$log_color</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">0</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$forced</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Grab actions information.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$text</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Warning message text.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$priority</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>priority message.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$log_color</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">0</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Set color: 0 - LOG, 1 - WARNING, 2 - INFO, 3- DEBUG.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$forced</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>forced logging.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Log warning message.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_log_events">
|
|
log_events()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_events" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">314</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.314" class="phpdocumentor-element-found-in__source" data-line="314" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method log_events().</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">log_events</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$event_name</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$text</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$event_name</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Event name.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$text</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Log update check.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_log_execution_time">
|
|
log_execution_time()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_execution_time" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">674</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.674" class="phpdocumentor-element-found-in__source" data-line="674" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method log_execution_time().</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">log_execution_time</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$text</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$text</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Log record text.</p>
|
|
<p>Log the execution time value.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_log_update_check">
|
|
log_update_check()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_update_check" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">335</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.335" class="phpdocumentor-element-found-in__source" data-line="335" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method log_update_check().</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">log_update_check</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$text</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$text</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Log update check.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_log_uptime_check">
|
|
log_uptime_check()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_uptime_check" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">344</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.344" class="phpdocumentor-element-found-in__source" data-line="344" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method log_update_check().</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">log_uptime_check</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$text</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$text</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Log update check.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_log_uptime_notice">
|
|
log_uptime_notice()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_uptime_notice" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">353</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.353" class="phpdocumentor-element-found-in__source" data-line="353" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method log_uptime_notice().</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">log_uptime_notice</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$text</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$text</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Log update check.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_prepare_log_info">
|
|
prepare_log_info()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_prepare_log_info" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">618</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.618" class="phpdocumentor-element-found-in__source" data-line="618" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method prepare_log_info()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">prepare_log_info</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$data</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Prepare log data.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$data</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Log data.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$data filtered data.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_prepend">
|
|
prepend()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_prepend" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">637</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.637" class="phpdocumentor-element-found-in__source" data-line="637" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method prepend()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">prepend</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$str</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$filename</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Prepend content to log file.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$str</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Custom string.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$filename</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Filename.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_set_log_priority">
|
|
set_log_priority()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_set_log_priority" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">159</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.159" class="phpdocumentor-element-found-in__source" data-line="159" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method set_log_priority()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">set_log_priority</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$logPriority</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$spec_log</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">0</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Sets the log priority.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$logPriority</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Log priority value.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$spec_log</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">0</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Specific log.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_show_log_db">
|
|
show_log_db()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_show_log_db" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">805</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.805" class="phpdocumentor-element-found-in__source" data-line="805" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method show_log_db()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">show_log_db</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Grab log file and build output to screen.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_show_log_file">
|
|
show_log_file()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_show_log_file" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">907</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.907" class="phpdocumentor-element-found-in__source" data-line="907" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method show_log_file()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">show_log_file</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Grab log file and build output to screen.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_warning">
|
|
warning()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_warning" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">287</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.287" class="phpdocumentor-element-found-in__source" data-line="287" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method warning()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">warning</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$text</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Grab warning information.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$text</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Warning message text.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_warning#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Hooks.html#method_mainwp_log_warning"><abbr title="\MainWP\Dashboard\MainWP_Hooks::mainwp_log_warning()">MainWP_Hooks::mainwp_log_warning()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Log warning message.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_warning_for_website">
|
|
warning_for_website()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_warning_for_website" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">411</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.411" class="phpdocumentor-element-found-in__source" data-line="411" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method warning_for_website()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">warning_for_website</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">object </span><span class="phpdocumentor-signature__argument__name">$website</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$action</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$message</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$addStackTrace</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Grab Website Warnings.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$website</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">object</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Child site object.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$action</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Performed action.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$message</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Warning message.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$addStackTrace</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Add or Don't add stack trace.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_warning_for_website#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Backup-Handler.html#method_backup_site"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup_site()">MainWP_Backup_Handler::backup_site()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Sync.html#method_sync_information_array"><abbr title="\MainWP\Dashboard\MainWP_Sync::sync_information_array()">MainWP_Sync::sync_information_array()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Cron-Jobs.html#method_cron_reconnect"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_reconnect()">MainWP_System_Cron_Jobs::cron_reconnect()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Bulk-Add.html#method_posting_bulk_handler"><abbr title="\MainWP\Dashboard\MainWP_Bulk_Add::posting_bulk_handler()">MainWP_Bulk_Add::posting_bulk_handler()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Website warnings.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
|
__construct()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">136</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.136" class="phpdocumentor-element-found-in__source" data-line="136" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">MainWP_Logger constructor.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Run each time the class is called.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method___construct#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Utility.html#method_get_mainwp_dir"><abbr title="\MainWP\Dashboard\MainWP_System_Utility::get_mainwp_dir()">MainWP_System_Utility::get_mainwp_dir()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_execution_time">
|
|
get_execution_time()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_execution_time" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">689</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.689" class="phpdocumentor-element-found-in__source" data-line="689" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method get_execution_time().</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">get_execution_time</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$time_index</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Get the execution time value.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$time_index</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Index for timer.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>execution time.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_log">
|
|
log()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">515</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.515" class="phpdocumentor-element-found-in__source" data-line="515" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method log()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">log</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$text</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$priority</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$log_color</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">0</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$forced</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$website</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Create Log File.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$text</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Log record text.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$priority</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Set priority.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$log_color</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">0</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Set color.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$forced</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>forced logging.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$website</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Site object.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>true|false Default is False.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_log_to_db">
|
|
log_to_db()
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_to_db" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-logger.php"><a href="files/class-class-mainwp-logger.html"><abbr title="class/class-mainwp-logger.php">class-mainwp-logger.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">439</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#source-view.439" class="phpdocumentor-element-found-in__source" data-line="439" data-modal="source-view" data-src="files/class/class-mainwp-logger.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method log_to_db()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">log_to_db</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$text</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$priority</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$log_color</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">0</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$forced</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$website</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Log to database.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$text</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Log record text.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$priority</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Set priority.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$log_color</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">0</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Set color.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$forced</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>forced logging.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$website</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>website object.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>true|false Default is False.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<div class="phpdocumentor-modal" id="source-view">
|
|
<div class="phpdocumentor-modal-bg" data-exit-button></div>
|
|
<div class="phpdocumentor-modal-container">
|
|
<div class="phpdocumentor-modal-content">
|
|
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/class/class-mainwp-logger.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
|
|
</div>
|
|
<button data-exit-button class="phpdocumentor-modal__close">×</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
(function () {
|
|
function loadExternalCodeSnippet(el, url, line) {
|
|
Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
|
|
const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
|
|
const language = 'php';
|
|
|
|
const code = document.createElement('code');
|
|
code.className = 'language-' + language;
|
|
pre.textContent = '';
|
|
pre.setAttribute('data-line', line)
|
|
code.textContent = 'Loading…';
|
|
pre.appendChild(code);
|
|
|
|
var xhr = new XMLHttpRequest();
|
|
|
|
xhr.open('GET', src, true);
|
|
|
|
xhr.onreadystatechange = function () {
|
|
if (xhr.readyState !== 4) {
|
|
return;
|
|
}
|
|
|
|
if (xhr.status < 400 && xhr.responseText) {
|
|
code.textContent = xhr.responseText;
|
|
Prism.highlightElement(code);
|
|
return;
|
|
}
|
|
|
|
if (xhr.status === 404) {
|
|
code.textContent = '✖ Error: File could not be found';
|
|
return;
|
|
}
|
|
|
|
if (xhr.status >= 400) {
|
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
|
return;
|
|
}
|
|
|
|
code.textContent = '✖ Error: An unknown error occurred';
|
|
};
|
|
|
|
xhr.send(null);
|
|
});
|
|
}
|
|
|
|
const modalButtons = document.querySelectorAll("[data-modal]");
|
|
const openedAsLocalFile = window.location.protocol === 'file:';
|
|
if (modalButtons.length > 0 && openedAsLocalFile) {
|
|
console.warn(
|
|
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
|
|
'browsers block XHR requests when a page is opened this way'
|
|
);
|
|
}
|
|
|
|
modalButtons.forEach(function (trigger) {
|
|
if (openedAsLocalFile) {
|
|
trigger.setAttribute("hidden", "hidden");
|
|
}
|
|
|
|
trigger.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
const modal = document.getElementById(trigger.dataset.modal);
|
|
if (!modal) {
|
|
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
|
|
return;
|
|
}
|
|
modal.classList.add("phpdocumentor-modal__open");
|
|
|
|
loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
|
|
const exits = modal.querySelectorAll("[data-exit-button]");
|
|
exits.forEach(function (exit) {
|
|
exit.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
modal.classList.remove("phpdocumentor-modal__open");
|
|
});
|
|
});
|
|
});
|
|
});
|
|
})();
|
|
</script>
|
|
|
|
</article>
|
|
</section>
|
|
<section class="phpdocumentor-on-this-page__sidebar">
|
|
|
|
<section class="phpdocumentor-on-this-page__content">
|
|
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
|
|
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li><a href="classes/MainWP-Dashboard-MainWP-Logger.html#toc-constants">Constants</a></li>
|
|
<li><a href="classes/MainWP-Dashboard-MainWP-Logger.html#toc-properties">Properties</a></li>
|
|
<li><a href="classes/MainWP-Dashboard-MainWP-Logger.html#toc-methods">Methods</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="phpdocumentor-on-this-page-section__title">Constants</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_API_BACKUPS_LOG_PRIORITY">API_BACKUPS_LOG_PRIORITY</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_CONNECT_LOG_PRIORITY">CONNECT_LOG_PRIORITY</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_COST_TRACKER_LOG_PRIORITY">COST_TRACKER_LOG_PRIORITY</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_DEBUG">DEBUG</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_DEBUG_COLOR">DEBUG_COLOR</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_DEBUG_UPDATES_SCHEDULE">DEBUG_UPDATES_SCHEDULE</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_DISABLED">DISABLED</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_EXECUTION_TIME_LOG_PRIORITY">EXECUTION_TIME_LOG_PRIORITY</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_INFO">INFO</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_INFO_COLOR">INFO_COLOR</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_LOG">LOG</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_LOG_COLOR">LOG_COLOR</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_LOGS_AUTO_PURGE_LOG_PRIORITY">LOGS_AUTO_PURGE_LOG_PRIORITY</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_LOGS_REGULAR_SCHEDULE">LOGS_REGULAR_SCHEDULE</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_UPDATE_CHECK_LOG_PRIORITY">UPDATE_CHECK_LOG_PRIORITY</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_UPTIME_CHECK_LOG_PRIORITY">UPTIME_CHECK_LOG_PRIORITY</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_UPTIME_NOTICE_LOG_PRIORITY">UPTIME_NOTICE_LOG_PRIORITY</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_WARNING">WARNING</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#constant_WARNING_COLOR">WARNING_COLOR</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li class="phpdocumentor-on-this-page-section__title">Properties</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_autoEnableLoggingActions">$autoEnableLoggingActions</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_instance">$instance</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logDateFormat">$logDateFormat</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logDirectory">$logDirectory</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logFileNamePrefix">$logFileNamePrefix</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logFileNameSuffix">$logFileNameSuffix</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logMaxMB">$logMaxMB</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logPriority">$logPriority</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_logSpecific">$logSpecific</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#property_time_start">$time_start</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_check_log_daily">check_log_daily()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_clear_log">clear_log()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_clear_log_db">clear_log_db()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_debug">debug()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_debug_for_website">debug_for_website()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_enable_log_priority">enable_log_priority()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_log_file">get_log_file()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_log_specific">get_log_specific()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_log_status">get_log_status()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_log_text">get_log_text()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_log_type_info">get_log_type_info()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_info">info()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_info_for_website">info_for_website()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_init_execution_time">init_execution_time()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_instance">instance()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_action">log_action()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_events">log_events()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_execution_time">log_execution_time()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_update_check">log_update_check()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_uptime_check">log_uptime_check()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_uptime_notice">log_uptime_notice()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_prepare_log_info">prepare_log_info()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_prepend">prepend()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_set_log_priority">set_log_priority()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_show_log_db">show_log_db()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_show_log_file">show_log_file()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_warning">warning()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_warning_for_website">warning_for_website()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method___construct">__construct()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_get_execution_time">get_execution_time()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log">log()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Logger.html#method_log_to_db">log_to_db()</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
|
|
</section>
|
|
</div>
|
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
|
<section class="phpdocumentor-search-results__dialog">
|
|
<header class="phpdocumentor-search-results__header">
|
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
|
</header>
|
|
<section class="phpdocumentor-search-results__body">
|
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
|
</section>
|
|
</section>
|
|
</section>
|
|
</div>
|
|
<a href="classes/MainWP-Dashboard-MainWP-Logger.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
|
|
|
</main>
|
|
|
|
<script>
|
|
cssVars({});
|
|
</script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
|
|
</body>
|
|
</html>
|