refactor(logger): change logger usage