From 5b5358109595eac3a4d1a4c79e686a51ce483d06 Mon Sep 17 00:00:00 2001 From: Miguel Juarez Lopez Date: Tue, 10 Sep 2024 15:50:18 -0400 Subject: [PATCH] fmt --- .../src/main/kotlin/io/bitdrift/capture/LogLevel.kt | 4 ++++ .../src/main/kotlin/io/bitdrift/capture/LogType.kt | 8 ++++++++ .../kotlin/io/bitdrift/capture/network/HttpResponse.kt | 2 ++ 3 files changed, 14 insertions(+) diff --git a/platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/LogLevel.kt b/platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/LogLevel.kt index c229405..364c4e9 100644 --- a/platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/LogLevel.kt +++ b/platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/LogLevel.kt @@ -19,18 +19,22 @@ enum class LogLevel(val value: Int) { * Represents an error log level, which is the most severe log level. */ ERROR(4), + /** * Represents a warning log level, which is less severe than error. */ WARNING(3), + /** * Represents an info log level, which is less verbose than debug. */ INFO(2), + /** * Represents a debug log level, which is more verbose than info. */ DEBUG(1), + /** * Represents a trace log level, which is the most verbose log level. */ diff --git a/platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/LogType.kt b/platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/LogType.kt index faedae2..a13517a 100644 --- a/platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/LogType.kt +++ b/platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/LogType.kt @@ -18,34 +18,42 @@ enum class LogType(val value: Int) { * Represents a normal log type, from consumer apps code. */ NORMAL(0), + /** * Represents a replay log type, from session replay. */ REPLAY(1), + /** * Represents a lifecycle log type, from automatic instrumentation. */ LIFECYCLE(2), + /** * Represents a resource log type, from automatic instrumentation. */ RESOURCE(3), + /** * Represents an internal SDK log type, from the SDK itself. */ INTERNALSDK(4), + /** * Represents a view lifecycle log type, from automatic instrumentation. */ VIEW(5), + /** * Represents a device log type, from automatic instrumentation. */ DEVICE(6), + /** * Represents a UX interaction log type, from automatic instrumentation. */ UX(7), + /** * Represents a span log type, from automatic instrumentation. */ diff --git a/platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/network/HttpResponse.kt b/platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/network/HttpResponse.kt index abb06e3..5396c54 100644 --- a/platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/network/HttpResponse.kt +++ b/platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/network/HttpResponse.kt @@ -34,10 +34,12 @@ data class HttpResponse @JvmOverloads constructor( * Represents a successful http request operation */ SUCCESS, + /** * Represents a failed http request operation */ FAILURE, + /** * Represents an interrupted or incomplete http request operation */