refactoring for wirelogger