error_log wordpress

PHP
error_log( print_r( 'Hello World!', true ) );error_log( 'Hello World!' );
Source

Also in PHP: