From 3b766d9f7be6039ba530f0e357a80fa1b747120f Mon Sep 17 00:00:00 2001 From: Sam Hill Date: Mon, 10 Jun 2024 14:14:56 -0400 Subject: [PATCH 1/2] Prepare 2.0.4 release --- CHANGELOG.md | 6 ++++++ gradle.properties | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 050bfa63..0ea0fb0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [2.0.4] - 2024-06-10 +### Changed +- Added `ChunkedLogWriter`. This LogWriter can be used to wrap existing LogWriters and break their output into defined sizes. This is useful if your LogWriter outputs to something which limits message length (such as Logcat) +```kotlin +Logger.setLogWriters(platformLogWriter().chunked(maxMessageLength = 4000)) +``` ## [2.0.3] - 2024-02-03 ### Fixed diff --git a/gradle.properties b/gradle.properties index 1cb69e66..79d08a27 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ org.gradle.jvmargs=-Xmx4g SONATYPE_HOST=DEFAULT RELEASE_SIGNING_ENABLED=true GROUP=co.touchlab -VERSION_NAME=2.0.3 +VERSION_NAME=2.0.4 POM_NAME=Kermit POM_DESCRIPTION=Kermit The Log From 113e610cb6608c9c50a115f3ad0a18bd65f86813 Mon Sep 17 00:00:00 2001 From: Sam Hill Date: Mon, 10 Jun 2024 14:19:52 -0400 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ea0fb0f..56c1d1f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## [2.0.4] - 2024-06-10 ### Changed -- Added `ChunkedLogWriter`. This LogWriter can be used to wrap existing LogWriters and break their output into defined sizes. This is useful if your LogWriter outputs to something which limits message length (such as Logcat) +- Added `ChunkedLogWriter`. This LogWriter can be used to wrap existing LogWriters and break their output into defined sizes. This is useful if your LogWriter outputs to something which limits message length (such as Logcat) (#396 thanks @psh) ```kotlin Logger.setLogWriters(platformLogWriter().chunked(maxMessageLength = 4000)) ```