Logging in Java

  • The simplest way to log in Java is System.out.println(...)
  • That might not be the best for big apps - You lose context
  • A common logging framework built into Spring is SLF4J
  • Features include configurable log format, different log levels, and different output strategies

17 / 18