A WordPress-centric search engine for devs and theme authors



logio ›

Sincen/a
Deprecated3.4.0
logio ( $io, $msg )
Parameters: (2)
  • (string) $io Whether input or output
    Required: Yes
  • (string) $msg Information describing logging reason.
    Required: Yes
See:
  • error_log()
Defined at:
Codex:

logIO() - Writes logging info to a file.



Source

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