logIO()

最后更新于:2021-11-27 14:34:37

logIO( string$io, string$msg)

logIO() – Writes logging info to a file.

参数

$io

(string) (Required) Whether input or output

$msg

(string) (Required) Information describing logging reason.

源文件

文件: xmlrpc.php

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