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

scribe.LoggerId.scala Maven / Gradle / Ivy

The newest version!
package scribe

import java.util.concurrent.atomic.AtomicLong

final case class LoggerId(value: Long) extends AnyVal

object LoggerId {
  private val counter = new AtomicLong(0L)

  def apply(): LoggerId = new LoggerId(counter.incrementAndGet())
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy