Write current lamp to console to aid debugging