Adding log4js layouts formatting.
Changes to support layouts, colors and options on the constructor.