scalajs-java-logging
is a BSD-licensed reimplementation of the java.logging
API for Scala.js.
It enables this API in Scala.js projects.
Simply add the following line to your sbt settings:
libraryDependencies += "org.scala-js" %%% "scalajs-java-logging" % "1.0.0"
If you have a crossProject
, the setting must be used only in the JS part:
lazy val myCross = crossProject.
...
jsSettings.(
libraryDependencies += "org.scala-js" %%% "scalajs-java-logging" % "1.0.0"
)
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!
scalajs-java-logging
is distributed under the
BSD 3-Clause license.
Follow the contributing guide.