@Override
  public Monitor getMonitor() {
    checkState(logging != null, "logging must be initialized first");
    // Include the console monitor for extra debugging.
    //return new ConsoleMonitor(ConsoleMonitor.Level.DEBUG);
    return new MultiplexMonitor(new StackdriverMonitor(
        this.logging,
        GoogleCloudUtils.getProjectId()),
        new ConsoleMonitor(ConsoleMonitor.Level.INFO));
  }
A {@link MonitorExtension} that provisions a {@link Monitor} that logs to
Google Stackdriver.
extensions/cloud/portability-cloud-google/src/main/java/org/datatransferproject/cloud/google/StackdriverMonitorExtension.java