From c0dfcbe06715837600ff502734e7174e20e86ff1 Mon Sep 17 00:00:00 2001
From: Jaewoong Eum
Date: Thu, 8 Dec 2022 15:11:08 +0900
Subject: [PATCH 01/51] Update README.md
---
README.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index c82be58..b300eea 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@
**Stream Log** is a lightweight logger and a pure Kotlin module to utilize this library on your Kotlin projects.
-[](https://search.maven.org/search?q=g:%22com.github.skydoves%22%20AND%20a:%22retrofit-adapters-result%22)
+[](https://search.maven.org/search?q=g:%22io.getstream%22%20AND%20a:%22stream-log%22)
Add the dependency below into your **module**'s `build.gradle` file:
@@ -141,7 +141,7 @@ StreamLog.setValidator { priority, tag ->
**Stream Log File** is an extension library for persisting the log messages into an external `.txt` file.
-[](https://search.maven.org/search?q=g:%22com.github.skydoves%22%20AND%20a:%22retrofit-adapters-result%22)
+[](https://search.maven.org/search?q=g:%22io.getstream%22%20AND%20a:%22stream-log-file%22)
Add the dependency below into your **module**'s `build.gradle` file:
@@ -197,7 +197,7 @@ Device: Stream's Mac
**Stream Log Android** is a simple Android logger on top of the **Stream Log**.
-[](https://search.maven.org/search?q=g:%22com.github.skydoves%22%20AND%20a:%22retrofit-adapters-result%22)
+[](https://search.maven.org/search?q=g:%22io.getstream%22%20AND%20a:%22stream-log-android%22)
Add the dependency below into your **module**'s `build.gradle` file:
@@ -263,7 +263,7 @@ val logger by taggedLogger(tag = "Tag")
**Stream Log Android File** is an extension library for persisting your log messages into external `.txt` files. So you can record the runtime log messages into a `.txt` file, and it will help you to trace the log messages in many complex scenarios.
-[](https://search.maven.org/search?q=g:%22com.github.skydoves%22%20AND%20a:%22retrofit-adapters-result%22)
+[](https://search.maven.org/search?q=g:%22io.getstream%22%20AND%20a:%22stream-log-android-file%22)
Add the dependency below into your **module**'s `build.gradle` file:
From 1338236d85b958acc18b9574c5318c66dd146cc1 Mon Sep 17 00:00:00 2001
From: skydoves
Date: Thu, 8 Dec 2022 15:19:18 +0900
Subject: [PATCH 02/51] Define java version to 1.8 for stream-log and file
modules
---
stream-log-file/build.gradle.kts | 5 +++++
stream-log/build.gradle.kts | 6 ++++++
2 files changed, 11 insertions(+)
diff --git a/stream-log-file/build.gradle.kts b/stream-log-file/build.gradle.kts
index 90820d2..9e6be36 100644
--- a/stream-log-file/build.gradle.kts
+++ b/stream-log-file/build.gradle.kts
@@ -13,6 +13,11 @@ rootProject.extra.apply {
apply(from = "$rootDir/scripts/publish-module.gradle")
+java {
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
+}
+
dependencies {
testImplementation(Dependencies.junit4)
detektPlugins(Dependencies.detektFormatting)
diff --git a/stream-log/build.gradle.kts b/stream-log/build.gradle.kts
index f169c36..28c297a 100644
--- a/stream-log/build.gradle.kts
+++ b/stream-log/build.gradle.kts
@@ -13,6 +13,12 @@ rootProject.extra.apply {
apply(from = "$rootDir/scripts/publish-module.gradle")
+java {
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
+}
+
+
dependencies {
testImplementation(Dependencies.junit4)
detektPlugins(Dependencies.detektFormatting)
From 1b88971c70079ebf05f6084412f14c426010a41a Mon Sep 17 00:00:00 2001
From: skydoves
Date: Thu, 8 Dec 2022 15:23:43 +0900
Subject: [PATCH 03/51] Apply spotless
---
stream-log/build.gradle.kts | 1 -
1 file changed, 1 deletion(-)
diff --git a/stream-log/build.gradle.kts b/stream-log/build.gradle.kts
index 28c297a..d5fe995 100644
--- a/stream-log/build.gradle.kts
+++ b/stream-log/build.gradle.kts
@@ -18,7 +18,6 @@ java {
targetCompatibility = JavaVersion.VERSION_1_8
}
-
dependencies {
testImplementation(Dependencies.junit4)
detektPlugins(Dependencies.detektFormatting)
From e78c38e4a4916acaa7cfe8bef5689e349eed0fde Mon Sep 17 00:00:00 2001
From: skydoves
Date: Thu, 8 Dec 2022 15:27:13 +0900
Subject: [PATCH 04/51] Prepare for releasing v1.1.3
---
buildSrc/src/main/kotlin/io/getstream/log/Configuration.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/buildSrc/src/main/kotlin/io/getstream/log/Configuration.kt b/buildSrc/src/main/kotlin/io/getstream/log/Configuration.kt
index 11a4a24..72bf158 100644
--- a/buildSrc/src/main/kotlin/io/getstream/log/Configuration.kt
+++ b/buildSrc/src/main/kotlin/io/getstream/log/Configuration.kt
@@ -7,7 +7,7 @@ object Configuration {
const val minSdk = 21
const val majorVersion = 1
const val minorVersion = 1
- const val patchVersion = 2
+ const val patchVersion = 3
const val versionName = "$majorVersion.$minorVersion.$patchVersion"
const val snapshotVersionName = "$majorVersion.$minorVersion.${patchVersion + 1}-SNAPSHOT"
const val artifactGroup = "io.getstream"
From b0554c035e20f6bc286a9a6bfedcafdbbef9c3d7 Mon Sep 17 00:00:00 2001
From: Jaewoong Eum
Date: Thu, 8 Dec 2022 16:06:46 +0900
Subject: [PATCH 05/51] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index b300eea..6c0147f 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@
## Why Stream Log?
-**Stream Log** has originated from [stream-chat-android](https://github.com/getStream/stream-chat-android) and it has been already verified as used by billions of global end-users across thousands of different apps. It's simple and easy to use. You can also record and extract the runtime log messages into an external `.txt` file and utilize it to trace your log messages.
+**Stream Log** originated from [stream-chat-android](https://github.com/getStream/stream-chat-android), and it has already been verified as used by billions of global end-users across thousands of different apps. It's simple and easy to use. You can also record and extract the runtime log messages into an external `.txt` file and utilize it to trace your log messages.
From 9e19e688705fe0f9fd76cc8782a8990edeb74bbe Mon Sep 17 00:00:00 2001
From: Jaewoong Eum
Date: Thu, 8 Dec 2022 16:09:18 +0900
Subject: [PATCH 06/51] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 6c0147f..e167afc 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@
## Why Stream Log?
-**Stream Log** originated from [stream-chat-android](https://github.com/getStream/stream-chat-android), and it has already been verified as used by billions of global end-users across thousands of different apps. It's simple and easy to use. You can also record and extract the runtime log messages into an external `.txt` file and utilize it to trace your log messages.
+**Stream Log** originated from [stream-chat-android](https://github.com/getStream/stream-chat-android), and it has already been verified by delivering to billions of global end-users across thousands of different apps. It's simple and easy to use. You can also record and extract the runtime log messages into an external `.txt` file and utilize it to trace your log messages.
From a2f39e0bd3f1c413950aa7ddf03ff237d8b631ed Mon Sep 17 00:00:00 2001
From: Jaewoong Eum
Date: Mon, 12 Dec 2022 23:50:26 +0900
Subject: [PATCH 07/51] Add an Android Weekly badge
---
README.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/README.md b/README.md
index e167afc..95909e6 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,7 @@
+
From 3416ddd0faa9c78cec1b8a9a5a43e87cccf68dcb Mon Sep 17 00:00:00 2001
From: Jaewoong Eum
Date: Mon, 19 Dec 2022 14:43:47 +0900
Subject: [PATCH 08/51] Add Kotlin Weekly badge
---
README.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 95909e6..39718af 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,8 @@
-
+
+
From 16e08c123f0463bef4f5e2bc2be781ff1d929a33 Mon Sep 17 00:00:00 2001
From: skydoves
Date: Thu, 19 Jan 2023 13:40:52 +0900
Subject: [PATCH 09/51] Bump Kotlin to 1.8.0
---
buildSrc/src/main/kotlin/io/getstream/log/Dependencies.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/buildSrc/src/main/kotlin/io/getstream/log/Dependencies.kt b/buildSrc/src/main/kotlin/io/getstream/log/Dependencies.kt
index 891aaf3..82d3867 100644
--- a/buildSrc/src/main/kotlin/io/getstream/log/Dependencies.kt
+++ b/buildSrc/src/main/kotlin/io/getstream/log/Dependencies.kt
@@ -12,7 +12,7 @@ object Versions {
internal const val ANDROIDX_TEST_JUNIT = "1.1.4"
internal const val ANDROIDX_KTX = "1.9.0"
internal const val DETEKT_PLUGIN = "1.21.0"
- internal const val DOKKA = "1.7.20"
+ internal const val DOKKA = "1.8.0"
internal const val DOKKASAURUS = "0.1.10"
internal const val GRADLE_NEXUS_PUBLISH_PLUGIN = "1.1.0"
internal const val GRADLE_VERSIONS_PLUGIN = "0.44.0"
From 7d1d4f8294d238a5af07af838d86cddad49f3572 Mon Sep 17 00:00:00 2001
From: skydoves
Date: Thu, 19 Jan 2023 13:46:40 +0900
Subject: [PATCH 10/51] Bump Kotlin to 1.8.0 and Compose compiler to 1.4.0
---
buildSrc/src/main/kotlin/io/getstream/log/Dependencies.kt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/buildSrc/src/main/kotlin/io/getstream/log/Dependencies.kt b/buildSrc/src/main/kotlin/io/getstream/log/Dependencies.kt
index 82d3867..2e1acbe 100644
--- a/buildSrc/src/main/kotlin/io/getstream/log/Dependencies.kt
+++ b/buildSrc/src/main/kotlin/io/getstream/log/Dependencies.kt
@@ -8,17 +8,17 @@ object Versions {
internal const val ANDROID_JUNIT5_GRADLE_PLUGIN = "1.8.2.1"
internal const val ANDROIDX_ACTIVITY_COMPOSE = "1.6.1"
internal const val ANDROIDX_COMPOSE = "1.3.1"
- public const val ANDROIDX_COMPOSE_COMPILER = "1.3.2"
+ public const val ANDROIDX_COMPOSE_COMPILER = "1.4.0"
internal const val ANDROIDX_TEST_JUNIT = "1.1.4"
internal const val ANDROIDX_KTX = "1.9.0"
internal const val DETEKT_PLUGIN = "1.21.0"
- internal const val DOKKA = "1.8.0"
+ internal const val DOKKA = "1.7.20"
internal const val DOKKASAURUS = "0.1.10"
internal const val GRADLE_NEXUS_PUBLISH_PLUGIN = "1.1.0"
internal const val GRADLE_VERSIONS_PLUGIN = "0.44.0"
internal const val JUNIT4 = "4.13.2"
internal const val JUNIT5 = "5.9.1"
- internal const val KOTLIN = "1.7.20"
+ internal const val KOTLIN = "1.8.0"
internal const val GITVERSIONER = "0.5.0"
internal const val KOTLIN_BINARY_VALIDATOR = "0.12.1"
internal const val MATERIAL_COMPONENTS = "1.7.0"
From 924e448dd9a3a7d3ac3ef572268b814da71a3fce Mon Sep 17 00:00:00 2001
From: skydoves
Date: Tue, 28 Mar 2023 10:50:33 +0900
Subject: [PATCH 11/51] Bump Kotlin to 1.8.10, AGP to 7.4.1 and Gradle to 7.6.1
---
.../src/main/kotlin/io/getstream/log/Dependencies.kt | 12 ++++++------
gradle/wrapper/gradle-wrapper.properties | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/buildSrc/src/main/kotlin/io/getstream/log/Dependencies.kt b/buildSrc/src/main/kotlin/io/getstream/log/Dependencies.kt
index 2e1acbe..a46bb38 100644
--- a/buildSrc/src/main/kotlin/io/getstream/log/Dependencies.kt
+++ b/buildSrc/src/main/kotlin/io/getstream/log/Dependencies.kt
@@ -3,24 +3,24 @@
package io.getstream.log
object Versions {
- internal const val ANDROID_GRADLE_PLUGIN = "7.3.1"
+ internal const val ANDROID_GRADLE_PLUGIN = "7.4.1"
internal const val ANDROIDX_ANNOTATIONS = "1.5.0"
internal const val ANDROID_JUNIT5_GRADLE_PLUGIN = "1.8.2.1"
internal const val ANDROIDX_ACTIVITY_COMPOSE = "1.6.1"
internal const val ANDROIDX_COMPOSE = "1.3.1"
- public const val ANDROIDX_COMPOSE_COMPILER = "1.4.0"
+ public const val ANDROIDX_COMPOSE_COMPILER = "1.4.4"
internal const val ANDROIDX_TEST_JUNIT = "1.1.4"
internal const val ANDROIDX_KTX = "1.9.0"
internal const val DETEKT_PLUGIN = "1.21.0"
- internal const val DOKKA = "1.7.20"
+ internal const val DOKKA = "1.8.10"
internal const val DOKKASAURUS = "0.1.10"
- internal const val GRADLE_NEXUS_PUBLISH_PLUGIN = "1.1.0"
+ internal const val GRADLE_NEXUS_PUBLISH_PLUGIN = "1.3.0"
internal const val GRADLE_VERSIONS_PLUGIN = "0.44.0"
internal const val JUNIT4 = "4.13.2"
internal const val JUNIT5 = "5.9.1"
- internal const val KOTLIN = "1.8.0"
+ internal const val KOTLIN = "1.8.10"
internal const val GITVERSIONER = "0.5.0"
- internal const val KOTLIN_BINARY_VALIDATOR = "0.12.1"
+ internal const val KOTLIN_BINARY_VALIDATOR = "0.13.0"
internal const val MATERIAL_COMPONENTS = "1.7.0"
internal const val MOCKITO_KOTLIN = "4.0.0"
internal const val MOCKITO = "4.9.0"
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index f398c33..e8be595 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-all.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
From db436b483e76a70584d4ed800d256f80ae79bc64 Mon Sep 17 00:00:00 2001
From: skydoves
Date: Tue, 28 Mar 2023 10:52:09 +0900
Subject: [PATCH 12/51] Increment the patch version to 1.1.4
---
buildSrc/src/main/kotlin/io/getstream/log/Configuration.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/buildSrc/src/main/kotlin/io/getstream/log/Configuration.kt b/buildSrc/src/main/kotlin/io/getstream/log/Configuration.kt
index 72bf158..2dc62c3 100644
--- a/buildSrc/src/main/kotlin/io/getstream/log/Configuration.kt
+++ b/buildSrc/src/main/kotlin/io/getstream/log/Configuration.kt
@@ -7,7 +7,7 @@ object Configuration {
const val minSdk = 21
const val majorVersion = 1
const val minorVersion = 1
- const val patchVersion = 3
+ const val patchVersion = 4
const val versionName = "$majorVersion.$minorVersion.$patchVersion"
const val snapshotVersionName = "$majorVersion.$minorVersion.${patchVersion + 1}-SNAPSHOT"
const val artifactGroup = "io.getstream"
From 0175ec9eb8749b0d203bb1091558dc15c01539be Mon Sep 17 00:00:00 2001
From: skydoves
Date: Tue, 28 Mar 2023 11:27:39 +0900
Subject: [PATCH 13/51] Add GitHub files
---
CODE_OF_CONDUCT.md | 128 +++++++++++++++++++++++++++++++++++++++++++++
CONTRIBUTING.md | 14 +++++
2 files changed, 142 insertions(+)
create mode 100644 CODE_OF_CONDUCT.md
create mode 100644 CONTRIBUTING.md
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000..049be5c
--- /dev/null
+++ b/CODE_OF_CONDUCT.md
@@ -0,0 +1,128 @@
+# Contributor Covenant Code of Conduct
+
+## Our Pledge
+
+We as members, contributors, and leaders pledge to make participation in our
+community a harassment-free experience for everyone, regardless of age, body
+size, visible or invisible disability, ethnicity, sex characteristics, gender
+identity and expression, level of experience, education, socio-economic status,
+nationality, personal appearance, race, religion, or sexual identity
+and orientation.
+
+We pledge to act and interact in ways that contribute to an open, welcoming,
+diverse, inclusive, and healthy community.
+
+## Our Standards
+
+Examples of behavior that contributes to a positive environment for our
+community include:
+
+* Demonstrating empathy and kindness toward other people
+* Being respectful of differing opinions, viewpoints, and experiences
+* Giving and gracefully accepting constructive feedback
+* Accepting responsibility and apologizing to those affected by our mistakes,
+ and learning from the experience
+* Focusing on what is best not just for us as individuals, but for the
+ overall community
+
+Examples of unacceptable behavior include:
+
+* The use of sexualized language or imagery, and sexual attention or
+ advances of any kind
+* Trolling, insulting or derogatory comments, and personal or political attacks
+* Public or private harassment
+* Publishing others' private information, such as a physical or email
+ address, without their explicit permission
+* Other conduct which could reasonably be considered inappropriate in a
+ professional setting
+
+## Enforcement Responsibilities
+
+Community leaders are responsible for clarifying and enforcing our standards of
+acceptable behavior and will take appropriate and fair corrective action in
+response to any behavior that they deem inappropriate, threatening, offensive,
+or harmful.
+
+Community leaders have the right and responsibility to remove, edit, or reject
+comments, commits, code, wiki edits, issues, and other contributions that are
+not aligned to this Code of Conduct, and will communicate reasons for moderation
+decisions when appropriate.
+
+## Scope
+
+This Code of Conduct applies within all community spaces, and also applies when
+an individual is officially representing the community in public spaces.
+Examples of representing our community include using an official e-mail address,
+posting via an official social media account, or acting as an appointed
+representative at an online or offline event.
+
+## Enforcement
+
+Instances of abusive, harassing, or otherwise unacceptable behavior may be
+reported to the community leaders responsible for enforcement at
+GetStream.
+All complaints will be reviewed and investigated promptly and fairly.
+
+All community leaders are obligated to respect the privacy and security of the
+reporter of any incident.
+
+## Enforcement Guidelines
+
+Community leaders will follow these Community Impact Guidelines in determining
+the consequences for any action they deem in violation of this Code of Conduct:
+
+### 1. Correction
+
+**Community Impact**: Use of inappropriate language or other behavior deemed
+unprofessional or unwelcome in the community.
+
+**Consequence**: A private, written warning from community leaders, providing
+clarity around the nature of the violation and an explanation of why the
+behavior was inappropriate. A public apology may be requested.
+
+### 2. Warning
+
+**Community Impact**: A violation through a single incident or series
+of actions.
+
+**Consequence**: A warning with consequences for continued behavior. No
+interaction with the people involved, including unsolicited interaction with
+those enforcing the Code of Conduct, for a specified period of time. This
+includes avoiding interactions in community spaces as well as external channels
+like social media. Violating these terms may lead to a temporary or
+permanent ban.
+
+### 3. Temporary Ban
+
+**Community Impact**: A serious violation of community standards, including
+sustained inappropriate behavior.
+
+**Consequence**: A temporary ban from any sort of interaction or public
+communication with the community for a specified period of time. No public or
+private interaction with the people involved, including unsolicited interaction
+with those enforcing the Code of Conduct, is allowed during this period.
+Violating these terms may lead to a permanent ban.
+
+### 4. Permanent Ban
+
+**Community Impact**: Demonstrating a pattern of violation of community
+standards, including sustained inappropriate behavior, harassment of an
+individual, or aggression toward or disparagement of classes of individuals.
+
+**Consequence**: A permanent ban from any sort of public interaction within
+the community.
+
+## Attribution
+
+This Code of Conduct is adapted from the [Contributor Covenant][homepage],
+version 2.0, available at
+https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
+
+Community Impact Guidelines were inspired by [Mozilla's code of conduct
+enforcement ladder](https://github.com/mozilla/diversity).
+
+[homepage]: https://www.contributor-covenant.org
+
+For answers to common questions about this code of conduct, see the FAQ at
+https://www.contributor-covenant.org/faq. Translations are available at
+https://www.contributor-covenant.org/translations.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..8dfd464
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,14 @@
+## How to contribute
+We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow.
+
+## Preparing a pull request for review
+Ensure your change is properly formatted by running:
+
+```gradle
+./gradlew spotlessApply
+```
+
+Please correct any failures before requesting a review.
+
+## Code reviews
+All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult [GitHub Help](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests) for more information on using pull requests.
From 88ba3e268a304b79f9f467b993d2256a76e051c4 Mon Sep 17 00:00:00 2001
From: skydoves
Date: Wed, 25 Sep 2024 14:52:24 +0900
Subject: [PATCH 14/51] Migrate Stream-log to KMP
---
.idea/codeStyles/Project.xml | 5 -
.idea/inspectionProfiles/ktlint.xml | 5 +-
...otlin-stdlib-2.0.20-commonMain-WPEnbA.klib | Bin 0 -> 144473 bytes
...linx-datetime-0.6.1-commonMain-ilTmRA.klib | Bin 0 -> 31779 bytes
...tetime-0.6.1-darwinDevicesMain-O4UcJA.klib | Bin 0 -> 3650 bytes
...linx-datetime-0.6.1-darwinMain-O4UcJA.klib | Bin 0 -> 3998 bytes
...linx-datetime-0.6.1-nativeMain-ilTmRA.klib | Bin 0 -> 11203 bytes
...ime-0.6.1-tzdbOnFilesystemMain-ilTmRA.klib | Bin 0 -> 4565 bytes
...linx-datetime-0.6.1-tzfileMain-ilTmRA.klib | Bin 0 -> 4903 bytes
...lization-core-1.6.2-commonMain-0z2eOA.klib | Bin 0 -> 31859 bytes
...lization-core-1.6.2-nativeMain-0z2eOA.klib | Bin 0 -> 4457 bytes
app/api/app.api | 50 +++
app/build.gradle.kts | 40 +--
.../log/sample/ExampleInstrumentedTest.kt | 15 +-
app/src/main/AndroidManifest.xml | 4 +-
.../main/java/io/getstream/log/sample/App.kt | 15 +-
.../io/getstream/log/sample/MainActivity.kt | 13 +-
.../io/getstream/log/sample/theme/Color.kt | 3 +-
.../io/getstream/log/sample/theme/Theme.kt | 63 ++--
.../io/getstream/log/sample/theme/Type.kt | 99 +++---
.../java/io/getstream/log/sample/ui/Main.kt | 17 +-
.../drawable-v24/ic_launcher_foreground.xml | 4 +-
.../res/drawable/ic_launcher_background.xml | 2 +-
.../res/mipmap-anydpi-v26/ic_launcher.xml | 4 +-
.../mipmap-anydpi-v26/ic_launcher_round.xml | 4 +-
app/src/main/res/values-night/themes.xml | 32 --
app/src/main/res/values/colors.xml | 4 +-
app/src/main/res/values/strings.xml | 4 +-
app/src/main/res/values/themes.xml | 18 +-
app/src/main/res/xml/backup_rules.xml | 4 +-
.../main/res/xml/data_extraction_rules.xml | 4 +-
.../getstream/log/sample/ExampleUnitTest.kt | 11 +-
build.gradle | 62 ----
build.gradle.kts | 41 +++
.../kotlin/io/getstream/log/Configuration.kt | 6 +-
.../kotlin/io/getstream/log/Dependencies.kt | 71 ----
gradle.properties | 68 +++-
gradle/libs.versions.toml | 75 +++++
gradle/wrapper/gradle-wrapper.properties | 3 +-
.../{spotless.license.kt => copyright.kt} | 3 +-
spotless/copyright.kts | 15 +
.../{spotless.license.xml => copyright.xml} | 2 +-
spotless/spotless.gradle | 32 --
stream-log-android-file/build.gradle | 72 ++--
.../src/main/AndroidManifest.xml | 4 +-
.../log/android/file/StreamLogFileManager.kt | 73 ++--
.../log/android/file/StreamLogFileProvider.kt | 85 +++--
.../log/android/file/StreamLogFileService.kt | 65 ++--
.../file/impl/ActivityLifecycleCallbacks.kt | 17 +-
.../file/impl/LifecycleAwareLogFileManager.kt | 63 ++--
.../io/getstream/log/file/FileStreamLogger.kt | 205 ++++++-----
.../src/main/res/xml/log_file_paths.xml | 4 +-
stream-log-android/build.gradle | 70 ++--
.../src/main/AndroidManifest.xml | 4 +-
.../log/android/AndroidStreamLogger.kt | 117 ++++---
.../src/main/res/xml/log_file_paths.xml | 4 +-
stream-log-file/build.gradle.kts | 60 ++--
.../logging/file/FileStreamLogger.kt | 205 ++++++-----
stream-log/api/android/stream-log.api | 106 ++++++
stream-log/api/desktop/stream-log.api | 106 ++++++
stream-log/build.gradle.kts | 94 +++++-
.../kotlin/io/getstream/log/Prints.kt | 20 ++
.../kotlin/io/getstream/log/Thread.kt | 22 ++
.../kotlin/io/getstream/log/Prints.kt | 20 ++
.../kotlin/io/getstream/log/Thread.kt | 28 ++
.../io/getstream/log/CompositeStreamLogger.kt | 25 +-
.../io/getstream/log/ErrorStreamLogger.kt | 13 +-
.../kotlin/io/getstream/log/Prints.kt | 18 +
.../kotlin/io/getstream/log/StreamLog.kt | 313 +++++++++++++++++
.../io/getstream/log/StreamLogExtension.kt | 39 ++-
.../kotlin/io/getstream/log/StreamLogger.kt | 69 ++++
.../kotlin/io/getstream/log/Thread.kt | 24 ++
.../io/getstream/log/helper/stringify.kt | 33 +-
.../log/kotlin/KotlinStreamLogger.kt | 37 +-
.../kotlin/io/getstream/log/Prints.kt | 20 ++
.../kotlin/io/getstream/log/Thread.kt | 22 ++
.../main/kotlin/io/getstream/log/StreamLog.kt | 318 ------------------
.../kotlin/io/getstream/log/StreamLogger.kt | 70 ----
78 files changed, 1837 insertions(+), 1406 deletions(-)
create mode 100644 .kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlin-kotlin-stdlib-2.0.20-commonMain-WPEnbA.klib
create mode 100644 .kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-datetime-0.6.1-commonMain-ilTmRA.klib
create mode 100644 .kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-datetime-0.6.1-darwinDevicesMain-O4UcJA.klib
create mode 100644 .kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-datetime-0.6.1-darwinMain-O4UcJA.klib
create mode 100644 .kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-datetime-0.6.1-nativeMain-ilTmRA.klib
create mode 100644 .kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-datetime-0.6.1-tzdbOnFilesystemMain-ilTmRA.klib
create mode 100644 .kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-datetime-0.6.1-tzfileMain-ilTmRA.klib
create mode 100644 .kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-core-1.6.2-commonMain-0z2eOA.klib
create mode 100644 .kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlinx-kotlinx-serialization-core-1.6.2-nativeMain-0z2eOA.klib
create mode 100644 app/api/app.api
delete mode 100644 app/src/main/res/values-night/themes.xml
delete mode 100644 build.gradle
create mode 100644 build.gradle.kts
delete mode 100644 buildSrc/src/main/kotlin/io/getstream/log/Dependencies.kt
create mode 100644 gradle/libs.versions.toml
rename spotless/{spotless.license.kt => copyright.kt} (89%)
create mode 100644 spotless/copyright.kts
rename spotless/{spotless.license.xml => copyright.xml} (90%)
delete mode 100644 spotless/spotless.gradle
create mode 100644 stream-log/api/android/stream-log.api
create mode 100644 stream-log/api/desktop/stream-log.api
create mode 100644 stream-log/src/androidMain/kotlin/io/getstream/log/Prints.kt
create mode 100644 stream-log/src/androidMain/kotlin/io/getstream/log/Thread.kt
create mode 100644 stream-log/src/appleMain/kotlin/io/getstream/log/Prints.kt
create mode 100644 stream-log/src/appleMain/kotlin/io/getstream/log/Thread.kt
rename stream-log/src/{main => commonMain}/kotlin/io/getstream/log/CompositeStreamLogger.kt (62%)
rename stream-log/src/{main => commonMain}/kotlin/io/getstream/log/ErrorStreamLogger.kt (74%)
create mode 100644 stream-log/src/commonMain/kotlin/io/getstream/log/Prints.kt
create mode 100644 stream-log/src/commonMain/kotlin/io/getstream/log/StreamLog.kt
rename stream-log/src/{main => commonMain}/kotlin/io/getstream/log/StreamLogExtension.kt (66%)
create mode 100644 stream-log/src/commonMain/kotlin/io/getstream/log/StreamLogger.kt
create mode 100644 stream-log/src/commonMain/kotlin/io/getstream/log/Thread.kt
rename stream-log/src/{main => commonMain}/kotlin/io/getstream/log/helper/stringify.kt (56%)
rename stream-log/src/{main => commonMain}/kotlin/io/getstream/log/kotlin/KotlinStreamLogger.kt (52%)
create mode 100644 stream-log/src/desktopMain/kotlin/io/getstream/log/Prints.kt
create mode 100644 stream-log/src/desktopMain/kotlin/io/getstream/log/Thread.kt
delete mode 100644 stream-log/src/main/kotlin/io/getstream/log/StreamLog.kt
delete mode 100644 stream-log/src/main/kotlin/io/getstream/log/StreamLogger.kt
diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
index 9e68cd6..62af394 100644
--- a/.idea/codeStyles/Project.xml
+++ b/.idea/codeStyles/Project.xml
@@ -18,11 +18,6 @@
-
-
-
diff --git a/.idea/inspectionProfiles/ktlint.xml b/.idea/inspectionProfiles/ktlint.xml
index 4dd7d01..995be84 100644
--- a/.idea/inspectionProfiles/ktlint.xml
+++ b/.idea/inspectionProfiles/ktlint.xml
@@ -6,12 +6,14 @@
+
+
@@ -21,9 +23,10 @@
+
-
+
\ No newline at end of file
diff --git a/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlin-kotlin-stdlib-2.0.20-commonMain-WPEnbA.klib b/.kotlin/metadata/kotlinTransformedMetadataLibraries/org.jetbrains.kotlin-kotlin-stdlib-2.0.20-commonMain-WPEnbA.klib
new file mode 100644
index 0000000000000000000000000000000000000000..25c2d03ef0e506bedfc6befd158809410055d266
GIT binary patch
literal 144473
zcmbrl1CVGzvL@WNZQHhO>$Yv%=55=yZQHhO>$bc1&b-<8&qlo6f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