Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.33 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.33 KB

scala-native-java-logging

CI

scala-native-java-logging is a BSD-licensed reimplementation of the java.logging API for Scala Native. It enables this API in Scala Native projects.

Ported from https://github.com/scala-js/scala-js-java-logging/tree/b166a058c85c6e3d1d305d84cb932efdc5c920af.

Usage

Simply add the following line to your sbt settings:

libraryDependencies += "org.scala-native" %%% "scala-native-java-logging" % "1.0.0"

If you have a crossProject, the setting must be used only in the JS part:

lazy val myCross = crossProject.
  ...
  nativeSettings.(
    libraryDependencies += "org.scala-native" %%% "scala-native-java-logging" % "1.0.0"
  )

Work in Progress / linking errors

This library is a work in progress. There are still many classes and methods that have not been implemented yet. If you use any of those, you will get linking errors.

Feel free to contribute to extend the set of supported classes and methods!

License

scala-native-java-logging is distributed under the BSD 3-Clause license.

Contributing

Follow the contributing guide.