[weld-dev] Loggers aren't serializable?

Nicklas Karlsson nickarls at gmail.com
Fri Dec 11 13:29:34 EST 2009


> "The SLF4JLog and SLF4JLocationAwareLog classes are now serializable solving
> serialization problems encountered with certain libraries which attempt to
> serialize JCL log instances."
>
> www.slf4j.org/news.html
>
> So why doesn't org.slf4j.Logger extend java.io.Serializable?
>
> public class SLF4JLog
> extends Objectimplements Log, Serializable
>

Serializable is just a marker interface but this is a general problem
that just happens to manifest itself here.

---
Nik


More information about the weld-dev mailing list