Add getLog doc comments