Memory logger for winston