Package-level declarations

Types

Link copied to clipboard
expect abstract class KmpLogKtorLogger : Logger

Convert Log.Logger to io.ktor.util.logging.Logger

actual abstract class KmpLogKtorLogger : Logger
actual abstract class KmpLogKtorLogger : Logger
actual abstract class KmpLogKtorLogger : Logger

Functions

Link copied to clipboard

Helper for converting Ktor's Logger back to KmpLogKtorLogger to retrieve its KmpLogKtorLogger.delegate. Only use if you are absolutely certain that the Logger in some ktor API is actually a KmpLogKtorLogger, such as with ktor server's Application.log extension function whereby the ApplicationEngineEnvironmentBuilder.log was set up with KmpLogKtorLogger.

Link copied to clipboard