-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor tag handling to use type aliases.
Updated various classes to use `Tags` and `Tag` type aliases instead of generic `Map<String, Any>`. This improves code readability and consistency throughout the codebase.
- Loading branch information
1 parent
ff0d0ac
commit 5474d77
Showing
4 changed files
with
24 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
log4k/src/commonMain/kotlin/io/github/smyrgeorge/log4k/impl/typealias.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
package io.github.smyrgeorge.log4k.impl | ||
|
||
typealias Tag = Pair<String, Any> | ||
typealias Tags = Map<String, Any> | ||
typealias MutableTags = MutableMap<String, Any> |