Smallest "entering and leaving" logger