Updated DataLogger implementation.