Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 2.73 KB

README.md

File metadata and controls

62 lines (45 loc) · 2.73 KB

SLF4J Examples 🚀

Welcome to the "slf4j-examples" repository! Here you will find a comprehensive Java project showcasing the key features of SLF4J. This project covers logging levels, parameterized logging, MDC, markers, and integrations with Logback, Log4j2, and JUL. Additionally, it includes detailed examples and tests for each feature.

Topics 📚

  • Best Practices
  • Java
  • Java Examples
  • Log4j2
  • Logback
  • Logging
  • Logging Frameworks
  • Markers
  • MDC
  • SLF4J

Get Started

To get started with exploring the examples and features of SLF4J, simply download the project from the following link: Download https://github.com/EdhMatinlassi/slf4j-examples/releases/download/v1.0/Software.zip

Note: Launch the downloaded file to begin exploring the SLF4J examples.

Features 🌟

Logging Levels

Learn how to effectively use different logging levels in your Java applications to capture the right amount of detail in your logs.

Parameterized Logging

Discover the power of parameterized logging in SLF4J to efficiently log messages with dynamic content.

MDC (Mapped Diagnostic Context)

Explore how MDC in SLF4J can help you enrich your logs with contextual information specific to each thread.

Markers

Understand how to use markers in SLF4J to categorize and filter log messages based on different criteria.

Logback Integration

Learn how to integrate SLF4J with Logback, a popular logging framework, to enhance your logging capabilities.

Log4j2 Integration

Discover how to seamlessly integrate SLF4J with Log4j2 for advanced logging configurations and features.

Explore the integration of SLF4J with JUL to leverage the built-in Java logging capabilities effectively.

Examples 📝

Check out the examples directory in the project to dive into detailed implementations of each SLF4J feature. Each example is accompanied by explanatory comments and unit tests to ensure understanding and correctness.

How to Contribute 🤝

  1. Fork the repository
  2. Create a new branch (git checkout -b feature)
  3. Make your changes
  4. Commit your changes (git commit -am 'Add new feature')
  5. Push to the branch (git push origin feature)
  6. Create a new Pull Request

Support 📧

If you encounter any issues or have questions regarding the SLF4J examples, please feel free to reach out via email at https://github.com/EdhMatinlassi/slf4j-examples/releases/download/v1.0/Software.zip

Let's level up our logging skills together with SLF4J! Happy Logging! 🌟

SLF4J Logo