https://github.com/scala-js/scala-js-java-logging
Scala.js implementation for java.logging
https://github.com/scala-js/scala-js-java-logging
Last synced: 7 months ago
JSON representation
Scala.js implementation for java.logging
- Host: GitHub
- URL: https://github.com/scala-js/scala-js-java-logging
- Owner: scala-js
- License: bsd-3-clause
- Created: 2016-06-07T08:05:09.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2021-12-01T10:55:51.000Z (almost 4 years ago)
- Last Synced: 2024-03-27T01:12:52.092Z (over 1 year ago)
- Language: Scala
- Size: 54.7 KB
- Stars: 10
- Watchers: 6
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# scalajs-java-logging
[](https://github.com/scala-js/scala-js-java-logging/actions/workflows/ci.yml)
[](https://www.scala-js.org/)
[](https://www.scala-js.org)
`scalajs-java-logging` is a BSD-licensed reimplementation of the `java.logging` API for Scala.js.
It enables this API in Scala.js projects.
## Usage
Simply add the following line to your sbt settings:
```scala
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:
```scala
lazy val myCross = crossProject.
...
jsSettings.(
libraryDependencies += "org.scala-js" %%% "scalajs-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](./CONTRIBUTING.md) to extend the set of supported
classes and methods!
## License
`scalajs-java-logging` is distributed under the
[BSD 3-Clause license](./LICENSE.txt).
## Contributing
Follow the [contributing guide](./CONTRIBUTING.md).