Multiple choice technology web technology

For logging some information for debugging purpose, its good to use:

  1. log.debug

  2. log.info

  3. log.error

  4. System.out.println

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

For debugging purposes, log.debug is the most appropriate choice as it provides fine-grained diagnostic information that can be enabled in development and disabled in production without performance impact. The info level is for significant application events, error for problems requiring attention, and System.out.println bypasses the logging framework entirely.