added tempate-base logger class