wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



logio › WordPress Function

Da1.2.0
Deprecato3.4.0
logio ( $io, $msg )
Parametri: (2)
  • (string) $io Whether input or output.
    Richiesto:
  • (string) $msg Information describing logging reason.
    Richiesto:
Vedi:
  • error_log()
Definito a:
Codex:

logIO() - Writes logging info to a file.



Sorgenti

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