Home > Back-end >  VS Code flags System.out.print
VS Code flags System.out.print

Time:12-17

I'm a beginner programmer and It bothers me - why VS Code continues to flag my System.out.print statements and suggests using logger when in most places and tutorials they tell you to use out.print as a basic output stream?

Problem with System

out problem

CodePudding user response:

You can surely use System.out although a logger has so much more capabilities and is therefore better for a bigger project. If you just plan to make some small things, you don't need to use a logger if you don't want to, otherwise I'd highly recommend using one

  • Related