scribe.message.Message.scala Maven / Gradle / Ivy
The newest version!
package scribe.message
trait Message[M] extends LoggableMessage {
override def value: M
}
//object Message {
// def static[M: Loggable](value: M): Message[M] = StaticMessage(value)
// def apply[M: Loggable](value: => M): Message[M] = new LazyMessage[M](() => value)
// def empty: Message[String] = EmptyMessage
//}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy