UPDATE_CHECK_LOG_PRIORITY
UPDATE_CHECK_LOG_PRIORITY = 10
Class MainWP_Logger
log_action(string $text, integer $priority, integer $log_color, boolean $forced = false) : string
Method actions()
Grab actions information.
string | $text | Warning message text. |
integer | $priority | priority message. |
integer | $log_color | Set color: 0 - LOG, 1 - WARNING, 2 - INFO, 3- DEBUG. |
boolean | $forced | forced logging. |
Log warning message.
warning_for_website(object $website, string $action, string $message, boolean $addStackTrace = true) : string
Method warning_for_website()
Grab Website Warnings.
object | $website | Child site object. |
string | $action | Performed action. |
string | $message | Warning message. |
boolean | $addStackTrace | Add or Don't add stack trace. |
Website warnings.
log_to_db(string $text, integer $priority, integer $log_color, boolean $forced = false, mixed $website = false) : boolean
Method log_to_db()
Log to database.
string | $text | Log record text. |
integer | $priority | Set priority. |
integer | $log_color | Set color. |
boolean | $forced | forced logging. |
mixed | $website | website object. |
true|false Default is False.
log(string $text, integer $priority, integer $log_color, boolean $forced = false, mixed $website = false) : boolean
Method log()
Create Log File.
string | $text | Log record text. |
integer | $priority | Set priority. |
integer | $log_color | Set color. |
boolean | $forced | forced logging. |
mixed | $website | Site object. |
true|false Default is False.