energy logging