Added logging functions for sensors