Skip to content

Commit 780e808

Browse files
committed
update
1 parent d0eaec0 commit 780e808

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

build.sbt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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),

core/src/main/scala/com/typesafe/scalalogging/Logger.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)