-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cross-build for 3.0.0-M1 (JVM only) (#57)
* WIP: Dotty support * getLogger is down to some local class name munging * Tests pass! * Remove redundant conditional * Drop 0.27.0-RC1, focus on 3.0.0-M1 * Opt out of DottyJS until we can test it * The site only works on Scala 2 * Clean up deprecation since 0.27 * Copy Logger into scala-2 and scala-3, abandon LoggerCompat * Disable dottydoc for now * Fix the release steps for missing Dotty build? * When I grow up I want to write bash in yaml * More aggressively filter scalatest on dottyJS * Release notes, while we're here
- Loading branch information
1 parent
4e7e925
commit ca87082
Showing
21 changed files
with
339 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
131 changes: 0 additions & 131 deletions
131
core/shared/src/main/scala-2.10/org/log4s/LoggerMacros.scala
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...ed/src/main/scala/org/log4s/package.scala → .../src/main/scala-2/org/log4s/package.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package org | ||
|
||
import language.experimental.macros | ||
import scala.language.experimental.macros | ||
|
||
package object log4s extends log4s.`package-platform` { | ||
def getLogger: org.log4s.Logger = macro LoggerMacros.getLoggerImpl | ||
def getLogger: Logger = macro LoggerMacros.getLoggerImpl | ||
def getLogger(name: String) = new Logger(org.slf4j.LoggerFactory.getLogger(name)) | ||
def getLogger(clazz: Class[_]) = new Logger(org.slf4j.LoggerFactory.getLogger(clazz)) | ||
} |
Oops, something went wrong.