Skip to content

Commit

Permalink
Suppress unused warning
Browse files Browse the repository at this point in the history
  • Loading branch information
morgen-peschke committed Jun 26, 2024
1 parent 3bcbdec commit 412781e
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@

package org.typelevel.log4cats.slf4j.internal

import org.typelevel.log4cats._
import cats.syntax.all._
import cats.effect._
import org.slf4j.{Logger => JLogger}
import org.typelevel.log4cats.*
import cats.syntax.all.*
import cats.effect.*
import org.slf4j.Logger as JLogger
import org.slf4j.MDC

import scala.annotation.nowarn

private[slf4j] object Slf4jLoggerInternal {

final val singletonsByName = true
Expand Down Expand Up @@ -74,6 +76,7 @@ private[slf4j] object Slf4jLoggerInternal {
)
}

@nowarn("msg=never used")
final class Slf4jLogger[F[_]](val logger: JLogger, sync: Sync.Type = Sync.Type.Delay)(implicit
F: Sync[F]
) extends SelfAwareStructuredLogger[F] {
Expand Down

0 comments on commit 412781e

Please sign in to comment.