use logger debug to debug + brackets