style
fixed bug in abstract logger factory
Added example for using default factory