diff --git a/changelog.md b/changelog.md index af78015..7496360 100644 --- a/changelog.md +++ b/changelog.md @@ -9,80 +9,80 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- BOM module -- Use BOM in integration tests +* BOM module +* Use BOM in integration tests ## 1.1.1 - 2025-01-02 - Modules ### Added -- Added modules +* Added modules ### Changed -- Update Mockito to 5.15.2 -- Update Javadoc -- Update jUnit to 5.11.4 +* Update Mockito to 5.15.2 +* Update Javadoc +* Update jUnit to 5.11.4 ## 1.1.0 - 2024-11-28 ### Added -- Add tinylog modules: provider and writer +* Add tinylog modules: provider and writer ### Changed -- Fix dependencies' scopes +* Fix dependencies' scopes ## 1.0.0 - 2024-11-13 - Mock Loggers ### Added -- Add SLF4J and Apache Commons Logging modules +* Add SLF4J and Apache Commons Logging modules ### Changed -- Rename to **Mock Loggers** +* Rename to **Mock Loggers** ## 1.1.3 - 2024-11-09 ### Added -- Improved Javadoc -- Use BOM for jUnit and Mockito -- Add activity badges, update other -- Custom annotation @MockLoggers +* Improved Javadoc +* Use BOM for jUnit and Mockito +* Add activity badges, update other +* Custom annotation @MockLoggers ### Changed -- Update Maven plugins: invoker, javadoc, surefire and failsafe +* Update Maven plugins: invoker, javadoc, surefire and failsafe ## 1.1.2 - 2024-10-21 ### Changed -- Update jUnit Jupiter and Platform -- Update Mockito to 5.14 -- Update a bunch of Maven plugins: javadoc, surefire, failsafe, invoker, +* Update jUnit Jupiter and Platform +* Update Mockito to 5.14 +* Update a bunch of Maven plugins: javadoc, surefire, failsafe, invoker, central-publishing, jetbrains annotations ## 1.1.1 - 2024-08-20 ### Changed -- Update jUnit to 5.11 -- Improve extension's logging -- Clean the Maven publishing plugin's configuration. +* Update jUnit to 5.11 +* Improve extension's logging +* Clean the Maven publishing plugin's configuration. ## 1.1.0 - 2024-07-19 ### Added -- Implement jUnit extension. +* Implement jUnit extension. ## 1.0.0 - 2024-07-15 - Mock of JDK Platform Logging ### Added -- Implement a logger finder. -- Add Javadocs. +* Implement a logger finder. +* Add Javadocs. diff --git a/commons-logging/pom.xml b/commons-logging/pom.xml index cfa3807..2e25749 100644 --- a/commons-logging/pom.xml +++ b/commons-logging/pom.xml @@ -119,7 +119,7 @@ - 1.3.4 + 1.3.5 1.2.0-SNAPSHOT diff --git a/commons-logging/readme.md b/commons-logging/readme.md index b3a543d..4670da8 100644 --- a/commons-logging/readme.md +++ b/commons-logging/readme.md @@ -13,6 +13,16 @@ backed by [Mockito][]. [![Maven Central][maven-central]][maven-central-link] [![Javadoc][javadoc]][javadoc-link] +## Table of Contents + + +* [How to use](#how-to-use) + + + + + + ## How to use Just put a test dependency to your POM: @@ -154,7 +164,7 @@ See more details at [HelloServiceAnnotationTest.java](src/it/hello-commons-loggi [jdk-download]: https://www.oracle.com/java/technologies/downloads/#java11 -[commons-logging-version]: https://img.shields.io/static/v1?label=commons-logging&message=1.3.4&color=blue&logoColor=E23D28 +[commons-logging-version]: https://img.shields.io/static/v1?label=commons-logging&message=1.3.5&color=blue&logoColor=E23D28 [mockito-version]: https://img.shields.io/static/v1?label=Mockito&message=5.15.2&color=blue&logoColor=E23D28 diff --git a/commons-logging/src/it/hello-commons-logging-world/pom.xml b/commons-logging/src/it/hello-commons-logging-world/pom.xml index 72ddb69..a49a489 100644 --- a/commons-logging/src/it/hello-commons-logging-world/pom.xml +++ b/commons-logging/src/it/hello-commons-logging-world/pom.xml @@ -36,7 +36,7 @@ commons-logging commons-logging - 1.3.4 + 1.3.5 hamcrest diff --git a/jdk-platform-logging/readme.md b/jdk-platform-logging/readme.md index 3a811a3..6310eb1 100644 --- a/jdk-platform-logging/readme.md +++ b/jdk-platform-logging/readme.md @@ -12,6 +12,16 @@ backed by [Mockito][]. [![Maven Central][maven-central]][maven-central-link] [![Javadoc][javadoc]][javadoc-link] +## Table of Contents + + +* [How to use](#how-to-use) + + + + + + ## How to use Just put a test dependency to your POM: diff --git a/pom.xml b/pom.xml index e4d46c8..a159555 100644 --- a/pom.xml +++ b/pom.xml @@ -305,7 +305,7 @@ annotations org.jetbrains provided - 26.0.1 + 26.0.2 hamcrest diff --git a/readme.md b/readme.md index cd3d340..4efede3 100644 --- a/readme.md +++ b/readme.md @@ -15,6 +15,21 @@ Different logging services can be tested using mock loggers backed by [Mockito][ ![GitHub commit activity][github-commit-activity] [![Today's hits][today-hits]][today-hits-link] +## Table of Contents + + +* [How to use](#how-to-use) +* [Other logging libraries and frameworks](#other-logging-libraries-and-frameworks) +* [Credits](#credits) +* [Contributing](#contributing) +* [History](#history) +* [License](#license) + + + + + + ## How to use The simplest usage example looks like this: @@ -35,22 +50,22 @@ Now this library implements services for [JDK Platform Logging][jdk-logging], See more examples in the relevant modules of this project: -- for Apache Commons Logging in [mock-loggers-commons-logging](commons-logging) -- for JDK Platform Logging in [mock-loggers-jdk-platform-logging](jdk-platform-logging) -- for SLF4J in [mock-loggers-slf4j](slf4j) -- for tinylog in [mock-loggers-tinylog-writer](tinylog-writer) and [mock-loggers-tinylog-provider](tinylog-provider) +* for Apache Commons Logging in [mock-loggers-commons-logging](commons-logging) +* for JDK Platform Logging in [mock-loggers-jdk-platform-logging](jdk-platform-logging) +* for SLF4J in [mock-loggers-slf4j](slf4j) +* for tinylog in [mock-loggers-tinylog-writer](tinylog-writer) and [mock-loggers-tinylog-provider](tinylog-provider) ## Other logging libraries and frameworks -- [Apache Log4j: Unit Testing in Maven][log4j-unit-testing-in-maven] -- [Unit Test logback Using JUnit][logback-unit-test-using-junit], it's old but gold +* [Apache Log4j: Unit Testing in Maven][log4j-unit-testing-in-maven] +* [Unit Test logback Using JUnit][logback-unit-test-using-junit], it's old but gold ## Credits There are two projects which inspired me to make this library: -- [s4u/slf4j-mock][slf4j-mock] -- [ocarlsen/mock-slf4j-impl][mock-slf4j-impl] +* [s4u/slf4j-mock][slf4j-mock] +* [ocarlsen/mock-slf4j-impl][mock-slf4j-impl] ## Contributing diff --git a/slf4j/readme.md b/slf4j/readme.md index f8539c1..dfeeeb5 100644 --- a/slf4j/readme.md +++ b/slf4j/readme.md @@ -12,6 +12,16 @@ [![Maven Central][maven-central]][maven-central-link] [![Javadoc][javadoc]][javadoc-link] +## Table of Contents + + +* [How to use](#how-to-use) + + + + + + ## How to use Just put a test dependency to your POM: diff --git a/tinylog-provider/readme.md b/tinylog-provider/readme.md index f45fd39..79015b6 100644 --- a/tinylog-provider/readme.md +++ b/tinylog-provider/readme.md @@ -12,6 +12,19 @@ [![Maven Central][maven-central]][maven-central-link] [![Javadoc][javadoc]][javadoc-link] +## Table of Contents + + +* [Foreword](#foreword) +* [How to use](#how-to-use) +* [LoggingProvider as a parameter](#loggingprovider-as-a-parameter) +* [Configuration](#configuration) + + + + + + ## Foreword Unlike the traditional approach where each class or even instance has diff --git a/tinylog-writer/readme.md b/tinylog-writer/readme.md index 458c3c1..2fe8733 100644 --- a/tinylog-writer/readme.md +++ b/tinylog-writer/readme.md @@ -12,6 +12,19 @@ [![Maven Central][maven-central]][maven-central-link] [![Javadoc][javadoc]][javadoc-link] +## Table of Contents + + +* [Foreword](#foreword) +* [How to use](#how-to-use) +* [Writer as a parameter](#writer-as-a-parameter) +* [Configuration](#configuration) + + + + + + ## Foreword Unlike the traditional approach where each class or even instance has