APISonar


com.netflix.spectator.ipc.IpcLogEntry.log

> com > netflix > spectator > ipc > IpcLogEntry > log
com APIs netflix APIs spectator APIs ipc APIs IpcLogEntry APIs log APIs

Example 1
private void logRetryAttempt(ExecutionAttributes attrs) {
    IpcLogEntry logEntry = attrs.getAttribute(LOG_ENTRY);
    if (logEntry != null) {
      if (!isStatusSet(attrs)) {
        logEntry.markEnd().withStatus(IpcStatus.unexpected_error);
      }
      logEntry.log();
    }
  }