public static class TelemetryEvent.LogBuilder extends Object
Constructor and Description |
---|
LogBuilder() |
Modifier and Type | Method and Description |
---|---|
TelemetryEvent |
build() |
TelemetryEvent.LogBuilder |
withException(Exception ex)
build a log event for an exception including the full stack trace
|
TelemetryEvent.LogBuilder |
withException(SFException ex) |
TelemetryEvent.LogBuilder |
withValue(net.minidev.json.JSONArray value) |
TelemetryEvent.LogBuilder |
withValue(net.minidev.json.JSONObject value) |
TelemetryEvent.LogBuilder |
withValue(String value) |
public TelemetryEvent.LogBuilder withException(Exception ex)
ex
- The exception to build a log eventpublic TelemetryEvent.LogBuilder withException(SFException ex)
public TelemetryEvent.LogBuilder withValue(String value)
public TelemetryEvent.LogBuilder withValue(net.minidev.json.JSONObject value)
public TelemetryEvent.LogBuilder withValue(net.minidev.json.JSONArray value)
public TelemetryEvent build()
Copyright © 2021. All rights reserved.