Added LogFactory (pattern Abstract Factory)