logIO

Advertisement

Deprecated Deprecated

This function has been deprecated. Use error_log() instead.

Summery Summery

logIO() – Writes logging info to a file.

Syntax Syntax

logIO( string $io, string $msg )

Parameters Parameters

$io

(Required) Whether input or output

$msg

(Required) Information describing logging reason.

Source Source

File: xmlrpc.php

function logIO( $io, $msg ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
	_deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' );
	if ( ! empty( $GLOBALS['xmlrpc_logging'] ) ) {
		error_log( $io . ' - ' . $msg );
	}
}

Advertisement

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

See also See also

Advertisement

Leave a Reply