add base logger functionality