Skip to content

Commit

Permalink
Release 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergej Shafarenka committed Jul 15, 2024
1 parent 87b37d8 commit 74d4e3b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ In `gradle/libs.versions.toml`
```toml
[versions]
kotlin = "2.0.0"
logger = "0.3"
logger = "0.4"

[libraries]
logger = { module = "de.halfbit:logger", version.ref = "logger" }
Expand Down Expand Up @@ -82,6 +82,7 @@ kotlin {

# Release Notes

- 0.4 Migrate to the Apache 2.0 license.
- 0.3 MemoryRingSink prints log entries lazily.
- 0.2 Improve log layouts for Println and MemoryRing sinks.
- 0.1 Initial release
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ plugins {

allprojects {
group = "de.halfbit"
version = "0.3"
version = "0.4"
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ class LogExceptionsTest {

val actualException = stackTrace[1]
assertTrue("Cannot find exception in: $actualException") {
actualException.contains("java.lang.Exception") || // jvm
actualException.contains("kotlin.Exception") // ios
actualException.contains("Exception") ||
actualException.contains("captureStack@") // js (firefox)

}
}
}

0 comments on commit 74d4e3b

Please sign in to comment.