Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

SLF4J: How to Properly Use It [Video]

DZone's Guide to

SLF4J: How to Properly Use It [Video]

Curious about SLF4J? Want to know what to expect when using this logging framework? Check out some general advice for its use.

· Java Zone ·
Free Resource

What every Java engineer should know about microservices: Reactive Microservices Architecture.  Brought to you in partnership with Lightbend.

If you are coming from other log frameworks like Log4j V1 or Commons Logging, it is useful to know a few useful tricks when logging with SLF4J.

I compiled a small screencast for you that shows the three most common tricks or features of SLF4J that you will be using on a day-to-day basis. Enjoy and make sure to leave your feedback below!


Microservices for Java, explained. Revitalize your legacy systems (and your career) with Reactive Microservices Architecture, a free O'Reilly book. Brought to you in partnership with Lightbend.

Topics:
java ,logging frameworks ,slf4j

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}