All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.odin.config.DefaultBuilder.scala Maven / Gradle / Ivy

package io.odin.config

import cats.Applicative
import io.odin.Logger

class DefaultBuilder[F[_]: Applicative](val withDefault: Logger[F] => Logger[F]) {
  def withNoopFallback: Logger[F] =
    withDefault(Logger.noop[F])
  def withFallback(fallback: Logger[F]): Logger[F] =
    withDefault(fallback)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy