brikar-common/src/main/java/com/truward/brikar/common/log/LogUtil.java
public static void propagateOrLogInfo(Metrics metrics, Logger log) {
    final MetricsCollection metricsCollection = propagate(metrics);
    if (metricsCollection == null) {
      logInfo(metrics, log);
    }
  }
public static void propagateOrLogInfo(Metrics metrics, Logger log) {
    final MetricsCollection metricsCollection = propagate(metrics);
    if (metricsCollection == null) {
      logInfo(metrics, log);
    }
  }
Propagates metrics entry to the local metrics collection or (if unavailable) logs immediately

@param metrics Metrics object to log
@param log Target logger to use if local metrics collection is not available