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

logIO( string $io, string $msg )

logIO() – Writes logging info to a file.


Description Description

See also See also


Top ↑

Parameters Parameters

$io

(string) (Required) Whether input or output

$msg

(string) (Required) Information describing logging reason.


Top ↑

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 );
	}
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.