jokade / slogging

A Typesafe-logging (and slf4j) compatible logging library based on macros for Scala/JVM, Scala.js, and Scala Native
MIT License
50 stars 11 forks source link

Provide LazyLogging trait extending js.Any #20

Closed jokade closed 7 years ago

jokade commented 7 years ago

For use with Scala.js we should have a LazyLoggingJS trait extending js.Object so that it can be mixed into classes marked as @ScalaJSDefined.

jokade commented 7 years ago

This currently not possible with Scala.js: https://www.scala-js.org/doc/interoperability/sjs-defined-js-classes.html