Use of System.err.println() in Java -


on standard console things printed in white whether have written in system.out or system.err. in ide(for me eclipse) can see different color output on console both. i.e. black system.out , red system.err.

is system.err provided use in ides? cause on cmd can not distinguish system.out , system.err. both printed in same color.

these 2 different output streams available in of os's. don't have them color coded due settings of terminal/command line environment. on other hand ide provides different visualization different streams.

if wanted color them, consider using ansi escape sequences.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -