logIO()
Deprecated since 3.4.0. It is no longer supported and may be removed in future releases. Use
error_log() instead.logIO() - Writes logging info to a file.
No Hooks.
Returns
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_loggingWhether to enable XML-RPC logging.
Changelog
| Since 1.2.0 | Introduced. |
| Deprecated since 3.4.0 | Use error_log() |
logIO() logIO code WP 6.9.1
function logIO( $io, $msg ) {
_deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' );
if ( ! empty( $GLOBALS['xmlrpc_logging'] ) ) {
error_log( $io . ' - ' . $msg );
}
}