automator_log( mixed $message = '', mixed $subject = '',  $force_log = false, mixed $log_file = 'debug',  $backtrace = false )

global function to create and log custom messages.


Parameters Parameters

$message

(mixed) (Optional)

Default value: ''

$subject

(mixed) (Optional)

Default value: ''

(false) (Required) bool $backtrace

$log_file

(mixed) (Optional)

Default value: 'debug'


Source Source

File: src/global-functions.php

function automator_log( $message = '', $subject = '', $force_log = false, $log_file = 'debug', $backtrace = false ) {
	Utilities::log( $message, $subject, $force_log, $log_file, $backtrace );
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0 Introduced.