Search code examples
javavisual-studio-codelinter

VS Code flags System.out.print


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


Solution

  • 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