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

global function to create and log custom messages.


Parameters Parameters

$message

(mixed) (Optional)

Default value: ''

$subject

(mixed) (Optional)

Default value: ''

$force_log

(false) (Optional)

Default value: false

$log_file

(mixed) (Optional)

Default value: 'debug'

$backtrace

(false) (Optional)

Default value: false


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.