Potential improvement to logging methods