Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
org.novelfs:pure-log_2.11
Advanced tools
libraryDependencies += "org.novelfs" %% "pure-log" % "[Latest version]"
Works in any Applicative
with a LiftIO
instance.
import org.novelfs.pure.log.Logger
import org.novelfs.pure.log.simple._
import cats.effect.IO
Logger.log[IO](LogLevel.Info)("Hello World!").unsafeRunSync()
Works in any Monad
with a LiftIO
instance and an ApplicativeLocal
instance where the environment that you intend to read from has a ToMdc
instance.
import org.novelfs.pure.log.Logger
import org.novelfs.pure.log.mdc._
import cats.data.ReaderT
import cats.mtl.implicits._
case class Captain(firstName : String, lastName : String)
implicit val captainToMdc = new ToMdc[Captain] {
override def toMdc(captain: Captain): Map[String, String] = Map("firstName" -> captain.firstName, "lastName" -> captain.lastName)
}
Logger.log[ReaderT[IO, Captain, ?]](LogLevel.Info)("Hello World!")
.run(Captain("James", "Kirk"))
.unsafeRunSync()
FAQs
pure-log
We found that org.novelfs:pure-log_2.11 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.