logIO

LogIO() - Writes logging info to a file.

Description

logIO( (string) $io, (string) $msg ); 

Parameters (2)

0. $io (string)
Whether input or output
1. $msg (string)
Information describing logging reason.

Usage

  1. if ( !function_exists( 'logIO' ) ) { 
  2. require_once '/xmlrpc.php'; 
  3.  
  4. // Whether input or output 
  5. $io = ''; 
  6.  
  7. // Information describing logging reason. 
  8. $msg = ''; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = logIO($io, $msg); 
  12.  

Defined (1)

The function is defined in the following location(s).

/xmlrpc.php  
  1. function logIO( $io, $msg ) { 
  2. _deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' ); 
  3. if ( ! empty( $GLOBALS['xmlrpc_logging'] ) ) 
  4. error_log( $io . ' - ' . $msg );