wpseek.com
WordPress开发者和主题制作者的搜索引擎



logio › WordPress Function

Since1.2.0
已弃用3.4.0
logio ( $io, $msg )
参数: (2)
  • (string) $io Whether input or output.
    Required: Yes
  • (string) $msg Information describing logging reason.
    Required: Yes
查看:
  • error_log()
定义在:
文档:

logIO() - Writes logging info to a file.



源码

function logIO( $io, $msg ) {
	_deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' );
	if ( ! empty( $GLOBALS['xmlrpc_logging'] ) ) {
		error_log( $io . ' - ' . $msg );
	}
}