Skip to main content

Logging

Metadata

This task is complementary to the lectures and lists tasks and information for the in-lesson tasks.

Spy

Take a look at spring-starter#24.

Log a line

Open your own Java project (preferably spring-starter) and add at least one logger in any class:

private static final Logger LOG = LoggerFactory.getLogger(LogWarmer.class);

Note that you need to change the .class that you give to the logger.

Answer

What does this class that you hand the factory do anyway?