Modified logger