logIO()
Deprecated from version 3.4.0. It is no longer supported and can be removed in future releases. Use
error_log()
instead.logIO() - Writes logging info to a file.
No Hooks.
Return
null
. Nothing (null).
Usage
logIO( $io, $msg );
- $io(string) (required)
- Whether input or output.
- $msg(string) (required)
- Information describing logging reason.
Notes
- See: error_log()
- Global. Int|true|false. $xmlrpc_logging Whether to enable XML-RPC logging.
Changelog
Since 1.2.0 | Introduced. |
Deprecated since 3.4.0 | Use error_log() |
logIO() logIO code WP 6.8
function logIO( $io, $msg ) { _deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' ); if ( ! empty( $GLOBALS['xmlrpc_logging'] ) ) { error_log( $io . ' - ' . $msg ); } }