Lightweight and simple logger for tracking front-end errors