You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "rocketraman (via GitHub)" <gi...@apache.org> on 2023/12/22 19:35:40 UTC

[I] Support Kotlin multi-platform [logging-log4j-kotlin]

rocketraman opened a new issue, #59:
URL: https://github.com/apache/logging-log4j-kotlin/issues/59

   It would be nice if the API supported Kotlin multi-platform, and so could be used on other platforms that Kotlin targets, such as native, JavaScript, and WASM.
   
   Log4j2 is obviously a JVM-only solution but this library is mostly just an API. We could make it easier for users to plugin in different backends for different platforms, and provide some reasonable choices out of the box for each platform.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Support Kotlin multi-platform [logging-log4j-kotlin]

Posted by "jvz (via GitHub)" <gi...@apache.org>.
jvz commented on issue #59:
URL: https://github.com/apache/logging-log4j-kotlin/issues/59#issuecomment-1869796794

   Yes, I like this idea. Once that is in place, we can even implement some minimal multi-platform implementations (e.g., there's a common `println` and `readln` function for all platforms), and we may even be able to support some OS-native logging APIs (like syslog, systemd, Windows event logger, and whatever the macOS API is).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Support Kotlin multi-platform [logging-log4j-kotlin]

Posted by "StefanOltmann (via GitHub)" <gi...@apache.org>.
StefanOltmann commented on issue #59:
URL: https://github.com/apache/logging-log4j-kotlin/issues/59#issuecomment-1932780296

   Plan of action: Start by something like making a _slf4j_ Kotlin Multiplatform port… name it _slf4k_. Then be the first library that implements it and convince others like Kermit to do so, too. Then offer JetBrains to include slf4k in the stdlib by the time most logger implantations support it.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org