File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
core/src/main/scala/com/typesafe/scalalogging Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,7 @@ lazy val core = (project in file("core"))
2828 scalacOptions ++= Seq (
2929 " -unchecked" ,
3030 " -deprecation" ,
31- " -encoding" , " UTF-8" ,
32- // "-rewrite",
33- // "-source:3.7-migration"
31+ " -encoding" , " UTF-8"
3432 ) ++ scalacOption.value,
3533 incOptions := incOptions.value.withLogRecompileOnMacro(false ),
3634 libraryDependencies ++= Dependencies .scalaLogging(scalaVersion.value, isScala3.value),
Original file line number Diff line number Diff line change @@ -43,13 +43,13 @@ object Logger {
4343 /**
4444 * Create a [[Logger ]] wrapping the created underlying `org.slf4j.Logger`.
4545 */
46- def apply (clazz : Class [? ]): Logger =
46+ def apply (clazz : Class [_ ]): Logger =
4747 new Logger (LoggerFactory .getLogger(clazz.getName))
4848
4949 /**
5050 * Create a [[LoggerTakingImplicit ]] wrapping the created underlying `org.slf4j.Logger`.
5151 */
52- def takingImplicit [A ](clazz : Class [? ])(implicit ev : CanLog [A ]): LoggerTakingImplicit [A ] =
52+ def takingImplicit [A ](clazz : Class [_ ])(implicit ev : CanLog [A ]): LoggerTakingImplicit [A ] =
5353 new LoggerTakingImplicit [A ](LoggerFactory .getLogger(clazz.getName))
5454
5555 /**
You can’t perform that action at this time.
0 commit comments