From 5e73988188016638d9bf5d087328061c6f5d8548 Mon Sep 17 00:00:00 2001 From: Kevin Schildhorn Date: Wed, 13 Nov 2024 10:23:31 -0500 Subject: [PATCH] Adding api files --- .../api/kermit-bugsnag.klib.api | 8 + .../api/kermit-crashlytics.klib.api | 8 + .../kermit-koin/api/kermit-koin.klib.api | 16 ++ kermit-core/api/kermit-core.klib.api | 190 ++++++++++++++++++ kermit-simple/api/kermit-simple.klib.api | 57 ++++++ kermit-test/api/kermit-test.klib.api | 8 + kermit/api/kermit.klib.api | 45 +++++ 7 files changed, 332 insertions(+) create mode 100644 extensions/kermit-bugsnag/api/kermit-bugsnag.klib.api create mode 100644 extensions/kermit-crashlytics/api/kermit-crashlytics.klib.api create mode 100644 extensions/kermit-koin/api/kermit-koin.klib.api create mode 100644 kermit-core/api/kermit-core.klib.api create mode 100644 kermit-simple/api/kermit-simple.klib.api create mode 100644 kermit-test/api/kermit-test.klib.api create mode 100644 kermit/api/kermit.klib.api diff --git a/extensions/kermit-bugsnag/api/kermit-bugsnag.klib.api b/extensions/kermit-bugsnag/api/kermit-bugsnag.klib.api new file mode 100644 index 00000000..e283ccfe --- /dev/null +++ b/extensions/kermit-bugsnag/api/kermit-bugsnag.klib.api @@ -0,0 +1,8 @@ +// Klib ABI Dump +// Targets: [iosArm64, iosSimulatorArm64, iosX64, macosArm64, macosX64, tvosArm64, tvosSimulatorArm64, tvosX64, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64] +// Rendering settings: +// - Signature version: 2 +// - Show manifest properties: true +// - Show declarations: true + +// Library unique name: diff --git a/extensions/kermit-crashlytics/api/kermit-crashlytics.klib.api b/extensions/kermit-crashlytics/api/kermit-crashlytics.klib.api new file mode 100644 index 00000000..17670162 --- /dev/null +++ b/extensions/kermit-crashlytics/api/kermit-crashlytics.klib.api @@ -0,0 +1,8 @@ +// Klib ABI Dump +// Targets: [iosArm64, iosSimulatorArm64, iosX64, macosArm64, macosX64, tvosArm64, tvosSimulatorArm64, tvosX64, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64] +// Rendering settings: +// - Signature version: 2 +// - Show manifest properties: true +// - Show declarations: true + +// Library unique name: diff --git a/extensions/kermit-koin/api/kermit-koin.klib.api b/extensions/kermit-koin/api/kermit-koin.klib.api new file mode 100644 index 00000000..d50b9de0 --- /dev/null +++ b/extensions/kermit-koin/api/kermit-koin.klib.api @@ -0,0 +1,16 @@ +// Klib ABI Dump +// Targets: [iosArm64, iosSimulatorArm64, iosX64, js, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, watchosArm64, watchosSimulatorArm64, watchosX64] +// Rendering settings: +// - Signature version: 2 +// - Show manifest properties: true +// - Show declarations: true + +// Library unique name: +final class co.touchlab.kermit.koin/KermitKoinLogger : org.koin.core.logger/Logger { // co.touchlab.kermit.koin/KermitKoinLogger|null[0] + constructor (co.touchlab.kermit/Logger) // co.touchlab.kermit.koin/KermitKoinLogger.|(co.touchlab.kermit.Logger){}[0] + + final fun display(org.koin.core.logger/Level, kotlin/String) // co.touchlab.kermit.koin/KermitKoinLogger.display|display(org.koin.core.logger.Level;kotlin.String){}[0] +} + +final fun co.touchlab.kermit.koin/kermitLoggerModule(co.touchlab.kermit/Logger): org.koin.core.module/Module // co.touchlab.kermit.koin/kermitLoggerModule|kermitLoggerModule(co.touchlab.kermit.Logger){}[0] +final inline fun <#A: reified co.touchlab.kermit/Logger> (org.koin.core.scope/Scope).co.touchlab.kermit.koin/getLoggerWithTag(kotlin/String): #A // co.touchlab.kermit.koin/getLoggerWithTag|getLoggerWithTag@org.koin.core.scope.Scope(kotlin.String){0ยง}[0] diff --git a/kermit-core/api/kermit-core.klib.api b/kermit-core/api/kermit-core.klib.api new file mode 100644 index 00000000..c487ec8c --- /dev/null +++ b/kermit-core/api/kermit-core.klib.api @@ -0,0 +1,190 @@ +// Klib ABI Dump +// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, wasmJs, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64] +// Alias: androidNative => [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86] +// Alias: apple => [iosArm64, iosSimulatorArm64, iosX64, macosArm64, macosX64, tvosArm64, tvosSimulatorArm64, tvosX64, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64] +// Rendering settings: +// - Signature version: 2 +// - Show manifest properties: true +// - Show declarations: true + +// Library unique name: +open annotation class co.touchlab.kermit/ExperimentalKermitApi : kotlin/Annotation { // co.touchlab.kermit/ExperimentalKermitApi|null[0] + constructor () // co.touchlab.kermit/ExperimentalKermitApi.|(){}[0] +} + +final enum class co.touchlab.kermit/Severity : kotlin/Enum { // co.touchlab.kermit/Severity|null[0] + enum entry Assert // co.touchlab.kermit/Severity.Assert|null[0] + enum entry Debug // co.touchlab.kermit/Severity.Debug|null[0] + enum entry Error // co.touchlab.kermit/Severity.Error|null[0] + enum entry Info // co.touchlab.kermit/Severity.Info|null[0] + enum entry Verbose // co.touchlab.kermit/Severity.Verbose|null[0] + enum entry Warn // co.touchlab.kermit/Severity.Warn|null[0] + + final val entries // co.touchlab.kermit/Severity.entries|#static{}entries[0] + final fun (): kotlin.enums/EnumEntries // co.touchlab.kermit/Severity.entries.|#static(){}[0] + + final fun valueOf(kotlin/String): co.touchlab.kermit/Severity // co.touchlab.kermit/Severity.valueOf|valueOf#static(kotlin.String){}[0] + final fun values(): kotlin/Array // co.touchlab.kermit/Severity.values|values#static(){}[0] +} + +abstract interface co.touchlab.kermit/LoggerConfig { // co.touchlab.kermit/LoggerConfig|null[0] + abstract val logWriterList // co.touchlab.kermit/LoggerConfig.logWriterList|{}logWriterList[0] + abstract fun (): kotlin.collections/List // co.touchlab.kermit/LoggerConfig.logWriterList.|(){}[0] + abstract val minSeverity // co.touchlab.kermit/LoggerConfig.minSeverity|{}minSeverity[0] + abstract fun (): co.touchlab.kermit/Severity // co.touchlab.kermit/LoggerConfig.minSeverity.|(){}[0] +} + +abstract interface co.touchlab.kermit/MessageStringFormatter { // co.touchlab.kermit/MessageStringFormatter|null[0] + open fun formatMessage(co.touchlab.kermit/Severity?, co.touchlab.kermit/Tag?, co.touchlab.kermit/Message): kotlin/String // co.touchlab.kermit/MessageStringFormatter.formatMessage|formatMessage(co.touchlab.kermit.Severity?;co.touchlab.kermit.Tag?;co.touchlab.kermit.Message){}[0] + open fun formatSeverity(co.touchlab.kermit/Severity): kotlin/String // co.touchlab.kermit/MessageStringFormatter.formatSeverity|formatSeverity(co.touchlab.kermit.Severity){}[0] + open fun formatTag(co.touchlab.kermit/Tag): kotlin/String // co.touchlab.kermit/MessageStringFormatter.formatTag|formatTag(co.touchlab.kermit.Tag){}[0] +} + +abstract interface co.touchlab.kermit/MutableLoggerConfig : co.touchlab.kermit/LoggerConfig { // co.touchlab.kermit/MutableLoggerConfig|null[0] + abstract var logWriterList // co.touchlab.kermit/MutableLoggerConfig.logWriterList|{}logWriterList[0] + abstract fun (): kotlin.collections/List // co.touchlab.kermit/MutableLoggerConfig.logWriterList.|(){}[0] + abstract fun (kotlin.collections/List) // co.touchlab.kermit/MutableLoggerConfig.logWriterList.|(kotlin.collections.List){}[0] + abstract var minSeverity // co.touchlab.kermit/MutableLoggerConfig.minSeverity|{}minSeverity[0] + abstract fun (): co.touchlab.kermit/Severity // co.touchlab.kermit/MutableLoggerConfig.minSeverity.|(){}[0] + abstract fun (co.touchlab.kermit/Severity) // co.touchlab.kermit/MutableLoggerConfig.minSeverity.|(co.touchlab.kermit.Severity){}[0] +} + +abstract class co.touchlab.kermit/LogWriter { // co.touchlab.kermit/LogWriter|null[0] + constructor () // co.touchlab.kermit/LogWriter.|(){}[0] + + abstract fun log(co.touchlab.kermit/Severity, kotlin/String, kotlin/String, kotlin/Throwable? = ...) // co.touchlab.kermit/LogWriter.log|log(co.touchlab.kermit.Severity;kotlin.String;kotlin.String;kotlin.Throwable?){}[0] + open fun isLoggable(kotlin/String, co.touchlab.kermit/Severity): kotlin/Boolean // co.touchlab.kermit/LogWriter.isLoggable|isLoggable(kotlin.String;co.touchlab.kermit.Severity){}[0] +} + +final class co.touchlab.kermit/ChunkedLogWriter : co.touchlab.kermit/LogWriter { // co.touchlab.kermit/ChunkedLogWriter|null[0] + constructor (co.touchlab.kermit/LogWriter, kotlin/Int, kotlin/Int) // co.touchlab.kermit/ChunkedLogWriter.|(co.touchlab.kermit.LogWriter;kotlin.Int;kotlin.Int){}[0] + + final fun log(co.touchlab.kermit/Severity, kotlin/String, kotlin/String, kotlin/Throwable?) // co.touchlab.kermit/ChunkedLogWriter.log|log(co.touchlab.kermit.Severity;kotlin.String;kotlin.String;kotlin.Throwable?){}[0] +} + +final class co.touchlab.kermit/StaticConfig : co.touchlab.kermit/LoggerConfig { // co.touchlab.kermit/StaticConfig|null[0] + constructor (co.touchlab.kermit/Severity = ..., kotlin.collections/List = ...) // co.touchlab.kermit/StaticConfig.|(co.touchlab.kermit.Severity;kotlin.collections.List){}[0] + + final val logWriterList // co.touchlab.kermit/StaticConfig.logWriterList|{}logWriterList[0] + final fun (): kotlin.collections/List // co.touchlab.kermit/StaticConfig.logWriterList.|(){}[0] + final val minSeverity // co.touchlab.kermit/StaticConfig.minSeverity|{}minSeverity[0] + final fun (): co.touchlab.kermit/Severity // co.touchlab.kermit/StaticConfig.minSeverity.|(){}[0] + + final fun component1(): co.touchlab.kermit/Severity // co.touchlab.kermit/StaticConfig.component1|component1(){}[0] + final fun component2(): kotlin.collections/List // co.touchlab.kermit/StaticConfig.component2|component2(){}[0] + final fun copy(co.touchlab.kermit/Severity = ..., kotlin.collections/List = ...): co.touchlab.kermit/StaticConfig // co.touchlab.kermit/StaticConfig.copy|copy(co.touchlab.kermit.Severity;kotlin.collections.List){}[0] + final fun equals(kotlin/Any?): kotlin/Boolean // co.touchlab.kermit/StaticConfig.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // co.touchlab.kermit/StaticConfig.hashCode|hashCode(){}[0] + final fun toString(): kotlin/String // co.touchlab.kermit/StaticConfig.toString|toString(){}[0] +} + +final value class co.touchlab.kermit/Message { // co.touchlab.kermit/Message|null[0] + constructor (kotlin/String) // co.touchlab.kermit/Message.|(kotlin.String){}[0] + + final val message // co.touchlab.kermit/Message.message|{}message[0] + final fun (): kotlin/String // co.touchlab.kermit/Message.message.|(){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // co.touchlab.kermit/Message.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // co.touchlab.kermit/Message.hashCode|hashCode(){}[0] + final fun toString(): kotlin/String // co.touchlab.kermit/Message.toString|toString(){}[0] +} + +final value class co.touchlab.kermit/Tag { // co.touchlab.kermit/Tag|null[0] + constructor (kotlin/String) // co.touchlab.kermit/Tag.|(kotlin.String){}[0] + + final val tag // co.touchlab.kermit/Tag.tag|{}tag[0] + final fun (): kotlin/String // co.touchlab.kermit/Tag.tag.|(){}[0] + + final fun equals(kotlin/Any?): kotlin/Boolean // co.touchlab.kermit/Tag.equals|equals(kotlin.Any?){}[0] + final fun hashCode(): kotlin/Int // co.touchlab.kermit/Tag.hashCode|hashCode(){}[0] + final fun toString(): kotlin/String // co.touchlab.kermit/Tag.toString|toString(){}[0] +} + +open class co.touchlab.kermit/BaseLogger { // co.touchlab.kermit/BaseLogger|null[0] + constructor (co.touchlab.kermit/LoggerConfig) // co.touchlab.kermit/BaseLogger.|(co.touchlab.kermit.LoggerConfig){}[0] + + final val mutableConfig // co.touchlab.kermit/BaseLogger.mutableConfig|{}mutableConfig[0] + final fun (): co.touchlab.kermit/MutableLoggerConfig // co.touchlab.kermit/BaseLogger.mutableConfig.|(){}[0] + open val config // co.touchlab.kermit/BaseLogger.config|{}config[0] + open fun (): co.touchlab.kermit/LoggerConfig // co.touchlab.kermit/BaseLogger.config.|(){}[0] + + final fun processLog(co.touchlab.kermit/Severity, kotlin/String, kotlin/Throwable?, kotlin/String) // co.touchlab.kermit/BaseLogger.processLog|processLog(co.touchlab.kermit.Severity;kotlin.String;kotlin.Throwable?;kotlin.String){}[0] + final inline fun log(co.touchlab.kermit/Severity, kotlin/String, kotlin/Throwable?, kotlin/String) // co.touchlab.kermit/BaseLogger.log|log(co.touchlab.kermit.Severity;kotlin.String;kotlin.Throwable?;kotlin.String){}[0] + final inline fun logBlock(co.touchlab.kermit/Severity, kotlin/String, kotlin/Throwable?, kotlin/Function0) // co.touchlab.kermit/BaseLogger.logBlock|logBlock(co.touchlab.kermit.Severity;kotlin.String;kotlin.Throwable?;kotlin.Function0){}[0] +} + +open class co.touchlab.kermit/CommonWriter : co.touchlab.kermit/LogWriter { // co.touchlab.kermit/CommonWriter|null[0] + constructor (co.touchlab.kermit/MessageStringFormatter = ...) // co.touchlab.kermit/CommonWriter.|(co.touchlab.kermit.MessageStringFormatter){}[0] + + open fun log(co.touchlab.kermit/Severity, kotlin/String, kotlin/String, kotlin/Throwable?) // co.touchlab.kermit/CommonWriter.log|log(co.touchlab.kermit.Severity;kotlin.String;kotlin.String;kotlin.Throwable?){}[0] +} + +final object co.touchlab.kermit/DefaultFormatter : co.touchlab.kermit/MessageStringFormatter // co.touchlab.kermit/DefaultFormatter|null[0] + +final object co.touchlab.kermit/NoTagFormatter : co.touchlab.kermit/MessageStringFormatter { // co.touchlab.kermit/NoTagFormatter|null[0] + final fun formatMessage(co.touchlab.kermit/Severity?, co.touchlab.kermit/Tag?, co.touchlab.kermit/Message): kotlin/String // co.touchlab.kermit/NoTagFormatter.formatMessage|formatMessage(co.touchlab.kermit.Severity?;co.touchlab.kermit.Tag?;co.touchlab.kermit.Message){}[0] + final fun formatTag(co.touchlab.kermit/Tag): kotlin/String // co.touchlab.kermit/NoTagFormatter.formatTag|formatTag(co.touchlab.kermit.Tag){}[0] +} + +final object co.touchlab.kermit/SimpleFormatter : co.touchlab.kermit/MessageStringFormatter { // co.touchlab.kermit/SimpleFormatter|null[0] + final fun formatMessage(co.touchlab.kermit/Severity?, co.touchlab.kermit/Tag?, co.touchlab.kermit/Message): kotlin/String // co.touchlab.kermit/SimpleFormatter.formatMessage|formatMessage(co.touchlab.kermit.Severity?;co.touchlab.kermit.Tag?;co.touchlab.kermit.Message){}[0] + final fun formatTag(co.touchlab.kermit/Tag): kotlin/String // co.touchlab.kermit/SimpleFormatter.formatTag|formatTag(co.touchlab.kermit.Tag){}[0] +} + +final fun (co.touchlab.kermit/LogWriter).co.touchlab.kermit/chunked(kotlin/Int = ..., kotlin/Int = ...): co.touchlab.kermit/LogWriter // co.touchlab.kermit/chunked|chunked@co.touchlab.kermit.LogWriter(kotlin.Int;kotlin.Int){}[0] +final fun co.touchlab.kermit/loggerConfigInit(kotlin/Array..., co.touchlab.kermit/Severity = ...): co.touchlab.kermit/LoggerConfig // co.touchlab.kermit/loggerConfigInit|loggerConfigInit(kotlin.Array...;co.touchlab.kermit.Severity){}[0] +final fun co.touchlab.kermit/mutableLoggerConfigInit(kotlin.collections/List): co.touchlab.kermit/MutableLoggerConfig // co.touchlab.kermit/mutableLoggerConfigInit|mutableLoggerConfigInit(kotlin.collections.List){}[0] +final fun co.touchlab.kermit/mutableLoggerConfigInit(kotlin/Array..., co.touchlab.kermit/Severity = ...): co.touchlab.kermit/MutableLoggerConfig // co.touchlab.kermit/mutableLoggerConfigInit|mutableLoggerConfigInit(kotlin.Array...;co.touchlab.kermit.Severity){}[0] +final fun co.touchlab.kermit/platformLogWriter(co.touchlab.kermit/MessageStringFormatter = ...): co.touchlab.kermit/LogWriter // co.touchlab.kermit/platformLogWriter|platformLogWriter(co.touchlab.kermit.MessageStringFormatter){}[0] + +// Targets: [apple] +final class co.touchlab.kermit/NSLogWriter : co.touchlab.kermit/LogWriter { // co.touchlab.kermit/NSLogWriter|null[0] + constructor (co.touchlab.kermit/MessageStringFormatter = ...) // co.touchlab.kermit/NSLogWriter.|(co.touchlab.kermit.MessageStringFormatter){}[0] + + final fun log(co.touchlab.kermit/Severity, kotlin/String, kotlin/String, kotlin/Throwable?) // co.touchlab.kermit/NSLogWriter.log|log(co.touchlab.kermit.Severity;kotlin.String;kotlin.String;kotlin.Throwable?){}[0] +} + +// Targets: [apple] +open class co.touchlab.kermit/OSLogWriter : co.touchlab.kermit/LogWriter { // co.touchlab.kermit/OSLogWriter|null[0] + constructor (co.touchlab.kermit/MessageStringFormatter = ...) // co.touchlab.kermit/OSLogWriter.|(co.touchlab.kermit.MessageStringFormatter){}[0] + + open fun callLog(co.touchlab.kermit/Severity, kotlin/String, kotlin/Throwable?) // co.touchlab.kermit/OSLogWriter.callLog|callLog(co.touchlab.kermit.Severity;kotlin.String;kotlin.Throwable?){}[0] + open fun formatMessage(co.touchlab.kermit/Severity, co.touchlab.kermit/Tag, co.touchlab.kermit/Message): kotlin/String // co.touchlab.kermit/OSLogWriter.formatMessage|formatMessage(co.touchlab.kermit.Severity;co.touchlab.kermit.Tag;co.touchlab.kermit.Message){}[0] + open fun log(co.touchlab.kermit/Severity, kotlin/String, kotlin/String, kotlin/Throwable?) // co.touchlab.kermit/OSLogWriter.log|log(co.touchlab.kermit.Severity;kotlin.String;kotlin.String;kotlin.Throwable?){}[0] + open fun logThrowable(kotlin/UByte, kotlin/Throwable) // co.touchlab.kermit/OSLogWriter.logThrowable|logThrowable(kotlin.UByte;kotlin.Throwable){}[0] +} + +// Targets: [apple] +open class co.touchlab.kermit/XcodeSeverityWriter : co.touchlab.kermit/OSLogWriter { // co.touchlab.kermit/XcodeSeverityWriter|null[0] + constructor (co.touchlab.kermit/MessageStringFormatter = ...) // co.touchlab.kermit/XcodeSeverityWriter.|(co.touchlab.kermit.MessageStringFormatter){}[0] + + open fun emojiPrefix(co.touchlab.kermit/Severity): kotlin/String // co.touchlab.kermit/XcodeSeverityWriter.emojiPrefix|emojiPrefix(co.touchlab.kermit.Severity){}[0] + open fun formatMessage(co.touchlab.kermit/Severity, co.touchlab.kermit/Tag, co.touchlab.kermit/Message): kotlin/String // co.touchlab.kermit/XcodeSeverityWriter.formatMessage|formatMessage(co.touchlab.kermit.Severity;co.touchlab.kermit.Tag;co.touchlab.kermit.Message){}[0] + open fun logThrowable(kotlin/UByte, kotlin/Throwable) // co.touchlab.kermit/XcodeSeverityWriter.logThrowable|logThrowable(kotlin.UByte;kotlin.Throwable){}[0] +} + +// Targets: [androidNative] +final class co.touchlab.kermit/AndroidNativeLogWriter : co.touchlab.kermit/LogWriter { // co.touchlab.kermit/AndroidNativeLogWriter|null[0] + constructor () // co.touchlab.kermit/AndroidNativeLogWriter.|(){}[0] + + final fun log(co.touchlab.kermit/Severity, kotlin/String, kotlin/String, kotlin/Throwable?) // co.touchlab.kermit/AndroidNativeLogWriter.log|log(co.touchlab.kermit.Severity;kotlin.String;kotlin.String;kotlin.Throwable?){}[0] +} + +// Targets: [js, wasmJs] +final class co.touchlab.kermit/ConsoleWriter : co.touchlab.kermit/LogWriter { // co.touchlab.kermit/ConsoleWriter|null[0] + constructor (co.touchlab.kermit/MessageStringFormatter = ...) // co.touchlab.kermit/ConsoleWriter.|(co.touchlab.kermit.MessageStringFormatter){}[0] + + final fun log(co.touchlab.kermit/Severity, kotlin/String, kotlin/String, kotlin/Throwable?) // co.touchlab.kermit/ConsoleWriter.log|log(co.touchlab.kermit.Severity;kotlin.String;kotlin.String;kotlin.Throwable?){}[0] +} + +// Targets: [wasmJs] +final fun co.touchlab.kermit/consoleError(kotlin/String) // co.touchlab.kermit/consoleError|consoleError(kotlin.String){}[0] + +// Targets: [wasmJs] +final fun co.touchlab.kermit/consoleInfo(kotlin/String) // co.touchlab.kermit/consoleInfo|consoleInfo(kotlin.String){}[0] + +// Targets: [wasmJs] +final fun co.touchlab.kermit/consoleLog(kotlin/String) // co.touchlab.kermit/consoleLog|consoleLog(kotlin.String){}[0] + +// Targets: [wasmJs] +final fun co.touchlab.kermit/consoleWarn(kotlin/String) // co.touchlab.kermit/consoleWarn|consoleWarn(kotlin.String){}[0] diff --git a/kermit-simple/api/kermit-simple.klib.api b/kermit-simple/api/kermit-simple.klib.api new file mode 100644 index 00000000..3584c369 --- /dev/null +++ b/kermit-simple/api/kermit-simple.klib.api @@ -0,0 +1,57 @@ +// Klib ABI Dump +// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, wasmJs, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64] +// Rendering settings: +// - Signature version: 2 +// - Show manifest properties: true +// - Show declarations: true + +// Library unique name: +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/a(kotlin/Function0) // co.touchlab.kermit/a|a@co.touchlab.kermit.Logger(kotlin.Function0){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/a(kotlin/String) // co.touchlab.kermit/a|a@co.touchlab.kermit.Logger(kotlin.String){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/a(kotlin/String, kotlin/Throwable) // co.touchlab.kermit/a|a@co.touchlab.kermit.Logger(kotlin.String;kotlin.Throwable){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/a(kotlin/Throwable, kotlin/Function0) // co.touchlab.kermit/a|a@co.touchlab.kermit.Logger(kotlin.Throwable;kotlin.Function0){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/d(kotlin/Function0) // co.touchlab.kermit/d|d@co.touchlab.kermit.Logger(kotlin.Function0){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/d(kotlin/String) // co.touchlab.kermit/d|d@co.touchlab.kermit.Logger(kotlin.String){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/d(kotlin/String, kotlin/Throwable) // co.touchlab.kermit/d|d@co.touchlab.kermit.Logger(kotlin.String;kotlin.Throwable){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/d(kotlin/Throwable, kotlin/Function0) // co.touchlab.kermit/d|d@co.touchlab.kermit.Logger(kotlin.Throwable;kotlin.Function0){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/e(kotlin/Function0) // co.touchlab.kermit/e|e@co.touchlab.kermit.Logger(kotlin.Function0){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/e(kotlin/String) // co.touchlab.kermit/e|e@co.touchlab.kermit.Logger(kotlin.String){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/e(kotlin/String, kotlin/Throwable) // co.touchlab.kermit/e|e@co.touchlab.kermit.Logger(kotlin.String;kotlin.Throwable){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/e(kotlin/Throwable, kotlin/Function0) // co.touchlab.kermit/e|e@co.touchlab.kermit.Logger(kotlin.Throwable;kotlin.Function0){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/i(kotlin/Function0) // co.touchlab.kermit/i|i@co.touchlab.kermit.Logger(kotlin.Function0){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/i(kotlin/String) // co.touchlab.kermit/i|i@co.touchlab.kermit.Logger(kotlin.String){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/i(kotlin/String, kotlin/Throwable) // co.touchlab.kermit/i|i@co.touchlab.kermit.Logger(kotlin.String;kotlin.Throwable){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/i(kotlin/Throwable, kotlin/Function0) // co.touchlab.kermit/i|i@co.touchlab.kermit.Logger(kotlin.Throwable;kotlin.Function0){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/v(kotlin/Function0) // co.touchlab.kermit/v|v@co.touchlab.kermit.Logger(kotlin.Function0){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/v(kotlin/String) // co.touchlab.kermit/v|v@co.touchlab.kermit.Logger(kotlin.String){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/v(kotlin/String, kotlin/Throwable) // co.touchlab.kermit/v|v@co.touchlab.kermit.Logger(kotlin.String;kotlin.Throwable){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/v(kotlin/Throwable, kotlin/Function0) // co.touchlab.kermit/v|v@co.touchlab.kermit.Logger(kotlin.Throwable;kotlin.Function0){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/w(kotlin/Function0) // co.touchlab.kermit/w|w@co.touchlab.kermit.Logger(kotlin.Function0){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/w(kotlin/String) // co.touchlab.kermit/w|w@co.touchlab.kermit.Logger(kotlin.String){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/w(kotlin/String, kotlin/Throwable) // co.touchlab.kermit/w|w@co.touchlab.kermit.Logger(kotlin.String;kotlin.Throwable){}[0] +final fun (co.touchlab.kermit/Logger).co.touchlab.kermit/w(kotlin/Throwable, kotlin/Function0) // co.touchlab.kermit/w|w@co.touchlab.kermit.Logger(kotlin.Throwable;kotlin.Function0){}[0] +final fun co.touchlab.kermit/a(kotlin/Function0) // co.touchlab.kermit/a|a(kotlin.Function0){}[0] +final fun co.touchlab.kermit/a(kotlin/String) // co.touchlab.kermit/a|a(kotlin.String){}[0] +final fun co.touchlab.kermit/a(kotlin/String, kotlin/Throwable) // co.touchlab.kermit/a|a(kotlin.String;kotlin.Throwable){}[0] +final fun co.touchlab.kermit/a(kotlin/Throwable, kotlin/Function0) // co.touchlab.kermit/a|a(kotlin.Throwable;kotlin.Function0){}[0] +final fun co.touchlab.kermit/d(kotlin/Function0) // co.touchlab.kermit/d|d(kotlin.Function0){}[0] +final fun co.touchlab.kermit/d(kotlin/String) // co.touchlab.kermit/d|d(kotlin.String){}[0] +final fun co.touchlab.kermit/d(kotlin/String, kotlin/Throwable) // co.touchlab.kermit/d|d(kotlin.String;kotlin.Throwable){}[0] +final fun co.touchlab.kermit/d(kotlin/Throwable, kotlin/Function0) // co.touchlab.kermit/d|d(kotlin.Throwable;kotlin.Function0){}[0] +final fun co.touchlab.kermit/e(kotlin/Function0) // co.touchlab.kermit/e|e(kotlin.Function0){}[0] +final fun co.touchlab.kermit/e(kotlin/String) // co.touchlab.kermit/e|e(kotlin.String){}[0] +final fun co.touchlab.kermit/e(kotlin/String, kotlin/Throwable) // co.touchlab.kermit/e|e(kotlin.String;kotlin.Throwable){}[0] +final fun co.touchlab.kermit/e(kotlin/Throwable, kotlin/Function0) // co.touchlab.kermit/e|e(kotlin.Throwable;kotlin.Function0){}[0] +final fun co.touchlab.kermit/i(kotlin/Function0) // co.touchlab.kermit/i|i(kotlin.Function0){}[0] +final fun co.touchlab.kermit/i(kotlin/String) // co.touchlab.kermit/i|i(kotlin.String){}[0] +final fun co.touchlab.kermit/i(kotlin/String, kotlin/Throwable) // co.touchlab.kermit/i|i(kotlin.String;kotlin.Throwable){}[0] +final fun co.touchlab.kermit/i(kotlin/Throwable, kotlin/Function0) // co.touchlab.kermit/i|i(kotlin.Throwable;kotlin.Function0){}[0] +final fun co.touchlab.kermit/v(kotlin/Function0) // co.touchlab.kermit/v|v(kotlin.Function0){}[0] +final fun co.touchlab.kermit/v(kotlin/String) // co.touchlab.kermit/v|v(kotlin.String){}[0] +final fun co.touchlab.kermit/v(kotlin/String, kotlin/Throwable) // co.touchlab.kermit/v|v(kotlin.String;kotlin.Throwable){}[0] +final fun co.touchlab.kermit/v(kotlin/Throwable, kotlin/Function0) // co.touchlab.kermit/v|v(kotlin.Throwable;kotlin.Function0){}[0] +final fun co.touchlab.kermit/w(kotlin/Function0) // co.touchlab.kermit/w|w(kotlin.Function0){}[0] +final fun co.touchlab.kermit/w(kotlin/String) // co.touchlab.kermit/w|w(kotlin.String){}[0] +final fun co.touchlab.kermit/w(kotlin/String, kotlin/Throwable) // co.touchlab.kermit/w|w(kotlin.String;kotlin.Throwable){}[0] +final fun co.touchlab.kermit/w(kotlin/Throwable, kotlin/Function0) // co.touchlab.kermit/w|w(kotlin.Throwable;kotlin.Function0){}[0] +final fun co.touchlab.kermit/withTag(kotlin/String): co.touchlab.kermit/Logger // co.touchlab.kermit/withTag|withTag(kotlin.String){}[0] diff --git a/kermit-test/api/kermit-test.klib.api b/kermit-test/api/kermit-test.klib.api new file mode 100644 index 00000000..f1f958eb --- /dev/null +++ b/kermit-test/api/kermit-test.klib.api @@ -0,0 +1,8 @@ +// Klib ABI Dump +// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, wasmJs, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64] +// Rendering settings: +// - Signature version: 2 +// - Show manifest properties: true +// - Show declarations: true + +// Library unique name: diff --git a/kermit/api/kermit.klib.api b/kermit/api/kermit.klib.api new file mode 100644 index 00000000..aa0e42f9 --- /dev/null +++ b/kermit/api/kermit.klib.api @@ -0,0 +1,45 @@ +// Klib ABI Dump +// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, wasmJs, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64] +// Rendering settings: +// - Signature version: 2 +// - Show manifest properties: true +// - Show declarations: true + +// Library unique name: +open class co.touchlab.kermit/Logger : co.touchlab.kermit/BaseLogger { // co.touchlab.kermit/Logger|null[0] + constructor (co.touchlab.kermit/LoggerConfig, kotlin/String = ...) // co.touchlab.kermit/Logger.|(co.touchlab.kermit.LoggerConfig;kotlin.String){}[0] + + open val tag // co.touchlab.kermit/Logger.tag|{}tag[0] + open fun (): kotlin/String // co.touchlab.kermit/Logger.tag.|(){}[0] + + final fun withTag(kotlin/String): co.touchlab.kermit/Logger // co.touchlab.kermit/Logger.withTag|withTag(kotlin.String){}[0] + final inline fun a(kotlin/String, kotlin/Throwable? = ..., kotlin/String = ...) // co.touchlab.kermit/Logger.a|a(kotlin.String;kotlin.Throwable?;kotlin.String){}[0] + final inline fun a(kotlin/Throwable? = ..., kotlin/String = ..., kotlin/Function0) // co.touchlab.kermit/Logger.a|a(kotlin.Throwable?;kotlin.String;kotlin.Function0){}[0] + final inline fun d(kotlin/String, kotlin/Throwable? = ..., kotlin/String = ...) // co.touchlab.kermit/Logger.d|d(kotlin.String;kotlin.Throwable?;kotlin.String){}[0] + final inline fun d(kotlin/Throwable? = ..., kotlin/String = ..., kotlin/Function0) // co.touchlab.kermit/Logger.d|d(kotlin.Throwable?;kotlin.String;kotlin.Function0){}[0] + final inline fun e(kotlin/String, kotlin/Throwable? = ..., kotlin/String = ...) // co.touchlab.kermit/Logger.e|e(kotlin.String;kotlin.Throwable?;kotlin.String){}[0] + final inline fun e(kotlin/Throwable? = ..., kotlin/String = ..., kotlin/Function0) // co.touchlab.kermit/Logger.e|e(kotlin.Throwable?;kotlin.String;kotlin.Function0){}[0] + final inline fun i(kotlin/String, kotlin/Throwable? = ..., kotlin/String = ...) // co.touchlab.kermit/Logger.i|i(kotlin.String;kotlin.Throwable?;kotlin.String){}[0] + final inline fun i(kotlin/Throwable? = ..., kotlin/String = ..., kotlin/Function0) // co.touchlab.kermit/Logger.i|i(kotlin.Throwable?;kotlin.String;kotlin.Function0){}[0] + final inline fun v(kotlin/String, kotlin/Throwable? = ..., kotlin/String = ...) // co.touchlab.kermit/Logger.v|v(kotlin.String;kotlin.Throwable?;kotlin.String){}[0] + final inline fun v(kotlin/Throwable? = ..., kotlin/String = ..., kotlin/Function0) // co.touchlab.kermit/Logger.v|v(kotlin.Throwable?;kotlin.String;kotlin.Function0){}[0] + final inline fun w(kotlin/String, kotlin/Throwable? = ..., kotlin/String = ...) // co.touchlab.kermit/Logger.w|w(kotlin.String;kotlin.Throwable?;kotlin.String){}[0] + final inline fun w(kotlin/Throwable? = ..., kotlin/String = ..., kotlin/Function0) // co.touchlab.kermit/Logger.w|w(kotlin.Throwable?;kotlin.String;kotlin.Function0){}[0] + + final object Companion : co.touchlab.kermit/Logger { // co.touchlab.kermit/Logger.Companion|null[0] + final val tag // co.touchlab.kermit/Logger.Companion.tag|{}tag[0] + final fun (): kotlin/String // co.touchlab.kermit/Logger.Companion.tag.|(){}[0] + + final fun a(kotlin/String, kotlin/Throwable? = ..., kotlin/Function0) // co.touchlab.kermit/Logger.Companion.a|a(kotlin.String;kotlin.Throwable?;kotlin.Function0){}[0] + final fun addLogWriter(kotlin/Array...) // co.touchlab.kermit/Logger.Companion.addLogWriter|addLogWriter(kotlin.Array...){}[0] + final fun d(kotlin/String, kotlin/Throwable? = ..., kotlin/Function0) // co.touchlab.kermit/Logger.Companion.d|d(kotlin.String;kotlin.Throwable?;kotlin.Function0){}[0] + final fun e(kotlin/String, kotlin/Throwable? = ..., kotlin/Function0) // co.touchlab.kermit/Logger.Companion.e|e(kotlin.String;kotlin.Throwable?;kotlin.Function0){}[0] + final fun i(kotlin/String, kotlin/Throwable? = ..., kotlin/Function0) // co.touchlab.kermit/Logger.Companion.i|i(kotlin.String;kotlin.Throwable?;kotlin.Function0){}[0] + final fun setLogWriters(kotlin.collections/List) // co.touchlab.kermit/Logger.Companion.setLogWriters|setLogWriters(kotlin.collections.List){}[0] + final fun setLogWriters(kotlin/Array...) // co.touchlab.kermit/Logger.Companion.setLogWriters|setLogWriters(kotlin.Array...){}[0] + final fun setMinSeverity(co.touchlab.kermit/Severity) // co.touchlab.kermit/Logger.Companion.setMinSeverity|setMinSeverity(co.touchlab.kermit.Severity){}[0] + final fun setTag(kotlin/String) // co.touchlab.kermit/Logger.Companion.setTag|setTag(kotlin.String){}[0] + final fun v(kotlin/String, kotlin/Throwable? = ..., kotlin/Function0) // co.touchlab.kermit/Logger.Companion.v|v(kotlin.String;kotlin.Throwable?;kotlin.Function0){}[0] + final fun w(kotlin/String, kotlin/Throwable? = ..., kotlin/Function0) // co.touchlab.kermit/Logger.Companion.w|w(kotlin.String;kotlin.Throwable?;kotlin.Function0){}[0] + } +}