Warning: This function has been deprecated. Use error_log() instead.
logIO() WordPress Function
The logIO() function is used to log information about input/output operations on a WordPress site. This can be useful for debugging purposes or for tracking changes made to a site.
logIO( string $io, string $msg ) #
logIO() – Writes logging info to a file.
Description
See also
Parameters
- $io
(string)(Required)Whether input or output
- $msg
(string)(Required)Information describing logging reason.
Source
File: xmlrpc.php
function logIO( $io, $msg ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid _deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' ); if ( ! empty( $GLOBALS['xmlrpc_logging'] ) ) { error_log( $io . ' - ' . $msg ); } }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |