I set define( 'WP_DEBUG', true ); & define('WP_DEBUG_LOG', true);. But error_log('hello'); is not printing any thing.
What could be the issue ?
You'll find error_log output
It generally won't get output in the web page, no. If you want that you can always echo instead, but be careful not to echo until you've reached the point that WordPress is going to emit the page template: as soon as you echo you prevent the server sending any more HTTP headers.