added phantom logging utilities