From e4bccbb97450b9837426f7d77ffdffe9bc2ae26c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 25 Jan 2025 12:32:10 +0000 Subject: [PATCH 1/9] Bump org.jetbrains:annotations from 26.0.1 to 26.0.2 Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations) from 26.0.1 to 26.0.2. - [Release notes](https://github.com/JetBrains/java-annotations/releases) - [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md) - [Commits](https://github.com/JetBrains/java-annotations/compare/26.0.1...26.0.2) --- updated-dependencies: - dependency-name: org.jetbrains:annotations dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From cf08b8d51d09c089a04af057d6dc52dcbdc535c2 Mon Sep 17 00:00:00 2001 From: Vitalij Berdinskih Date: Mon, 3 Feb 2025 18:50:06 +0200 Subject: [PATCH 2/9] Update README --- readme.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/readme.md b/readme.md index cd3d340..41c03d2 100644 --- a/readme.md +++ b/readme.md @@ -15,6 +15,23 @@ 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 + + +* [Mock Loggers](#mock-loggers) + * [Table of Contents](#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: From 550ad5689da3a1b70b8b040a011506fab4b04f9f Mon Sep 17 00:00:00 2001 From: Vitalij Berdinskih Date: Mon, 3 Feb 2025 18:54:58 +0200 Subject: [PATCH 3/9] Update README --- readme.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 41c03d2..6b165a9 100644 --- a/readme.md +++ b/readme.md @@ -18,8 +18,6 @@ Different logging services can be tested using mock loggers backed by [Mockito][ ## Table of Contents -* [Mock Loggers](#mock-loggers) - * [Table of Contents](#table-of-contents) * [How to use](#how-to-use) * [Other logging libraries and frameworks](#other-logging-libraries-and-frameworks) * [Credits](#credits) @@ -28,7 +26,7 @@ Different logging services can be tested using mock loggers backed by [Mockito][ * [License](#license) - + From ccf0f78fa8b50e8deb61ed687fd7a74982dee199 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 8 Feb 2025 12:49:19 +0000 Subject: [PATCH 4/9] Bump commons-logging:commons-logging from 1.3.4 to 1.3.5 Bumps commons-logging:commons-logging from 1.3.4 to 1.3.5. --- updated-dependencies: - dependency-name: commons-logging:commons-logging dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- commons-logging/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 2764c49ae2d29d6d243eaa43979b6735f66846c3 Mon Sep 17 00:00:00 2001 From: Vitalij Berdinskih Date: Sun, 9 Feb 2025 21:05:13 +0200 Subject: [PATCH 5/9] Update commons-logging's README and integration test --- commons-logging/readme.md | 2 +- commons-logging/src/it/hello-commons-logging-world/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commons-logging/readme.md b/commons-logging/readme.md index b3a543d..d307d3f 100644 --- a/commons-logging/readme.md +++ b/commons-logging/readme.md @@ -154,7 +154,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 From e71e87cf096c6db680a2158788fb308ae0641848 Mon Sep 17 00:00:00 2001 From: Vitalij Berdinskih Date: Sun, 9 Feb 2025 21:29:10 +0200 Subject: [PATCH 6/9] Add TOC to readmes --- commons-logging/readme.md | 10 ++++++++++ jdk-platform-logging/readme.md | 10 ++++++++++ readme.md | 14 +++++++------- slf4j/readme.md | 10 ++++++++++ tinylog-provider/readme.md | 13 +++++++++++++ tinylog-writer/readme.md | 13 +++++++++++++ 6 files changed, 63 insertions(+), 7 deletions(-) diff --git a/commons-logging/readme.md b/commons-logging/readme.md index d307d3f..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: 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/readme.md b/readme.md index 6b165a9..c076c3b 100644 --- a/readme.md +++ b/readme.md @@ -18,15 +18,15 @@ Different logging services can be tested using mock loggers backed by [Mockito][ ## 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](#how-to-use) +* [Other logging libraries and frameworks](#other-logging-libraries-and-frameworks) +* [Credits](#credits) +* [Contributing](#contributing) +* [History](#history) +* [License](#license) - + 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 From d978e6cb8085539119303eb82fdd5730b813620e Mon Sep 17 00:00:00 2001 From: Vitalij Berdinskih Date: Mon, 10 Feb 2025 22:13:49 +0200 Subject: [PATCH 7/9] Update list style --- readme.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/readme.md b/readme.md index c076c3b..4efede3 100644 --- a/readme.md +++ b/readme.md @@ -50,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 From 6918aeeca90e7227217e70a5c8d58fa47914528c Mon Sep 17 00:00:00 2001 From: Vitalij Berdinskih Date: Mon, 10 Feb 2025 22:20:17 +0200 Subject: [PATCH 8/9] Update list style --- changelog.md | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/changelog.md b/changelog.md index af78015..0b825d7 100644 --- a/changelog.md +++ b/changelog.md @@ -9,8 +9,8 @@ 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 @@ -20,69 +20,69 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### 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. From 1859b0d7d67a756c8e97463e0ebce0e29bc7a264 Mon Sep 17 00:00:00 2001 From: Vitalij Berdinskih Date: Tue, 11 Feb 2025 10:59:11 +0200 Subject: [PATCH 9/9] Update list style --- changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 0b825d7..7496360 100644 --- a/changelog.md +++ b/changelog.md @@ -16,7 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Added modules +* Added modules ### Changed