some changes in logger
base logger as mixin template