Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Kotlin multi-platform #59

Open
rocketraman opened this issue Dec 22, 2023 · 1 comment
Open

Support Kotlin multi-platform #59

rocketraman opened this issue Dec 22, 2023 · 1 comment

Comments

@rocketraman
Copy link
Member

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.

@jvz
Copy link
Member

jvz commented Dec 26, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants