* add logger with window