public static void logBuildCompleted(long durationMs, boolean isRebuild, boolean isAutomake) {
    (isAutomake ? AUTO_BUILD_COMPLETED : isRebuild ? REBUILD_COMPLETED : BUILD_COMPLETED).log(durationMs);
  }
public static void logBuildCompleted(long durationMs, boolean isRebuild, boolean isAutomake)