CaptureIp is the currently set level of IP address information to capture from requests.
CaptureTelemetryEvent sets the user-specified telemetry event.
ClearPerson clears any previously set person information.
Close will block until the queue of errors / messages is empty and terminate the goroutine used for sending items.
CodeVersion is the string describing the running code version on the server that is currently set on the managed Client instance.
Critical reports an item with level `critical`.
Custom is the currently set extra metadata on the managed Client instance.
Debug reports an item with level `debug`.
No description provided by the author
EnableLoggerTelemetry enables logger telemetry.
EnableNetworkTelemetry enables the network telemetry it wraps up the client for telemetry http.DefaultClient can also be passed by the reference.
EnableNetworkTelemetryRequestHeaders enables telemetry request headers.
EnableNetworkTelemetryResponseHeaders enables telemetry response headers.
Endpoint is the currently configured endpoint to send items on the managed Client instance.
Environment is the environment currently set on the managed Client instance.
Error reports an item with level `error`.
Errorf sends an error to Rollbar with the given level using the format string and arguments.
ErrorWithExtras asynchronously sends an error to Rollbar with the given severity level with extra custom data.
ErrorWithExtrasAndContext asynchronously sends an error to Rollbar with the given severity level with extra custom data, within the given context.
ErrorWithLevel asynchronously sends an error to Rollbar with the given severity level.
ErrorWithStackSkip asynchronously sends an error to Rollbar with the given severity level and a given number of stack trace frames skipped.
ErrorWithStackSkipWithExtras asynchronously sends an error to Rollbar with the given severity level and a given number of stack trace frames skipped with extra custom data.
ErrorWithStackSkipWithExtrasAndContext asynchronously sends an error to Rollbar with the given severity level and a given number of stack trace frames skipped with extra custom data, within the given context.
Fingerprint is whether or not the current managed Client instance uses a custom client-side fingerprint.
Info reports an item with level `info`.
LambdaWrapper calls handlerFunc with arguments, and recovers and reports a panic to Rollbar if it occurs.
Log reports an item with the given level.
LogPanic accepts an error value returned by recover() and handles logging to Rollbar with stack info.
Message asynchronously sends a message to Rollbar with the given severity level.
MessageWithExtras asynchronously sends a message to Rollbar with the given severity level with extra custom data.
MessageWithExtrasAndContext asynchronously sends a message to Rollbar with the given severity level with extra custom data, within the given context.
New returns the default implementation of a Client.
NewAsync builds a Client with the asynchronous implementation of the transport interface.
NewAsyncTransport builds an asynchronous transport which sends data to the Rollbar API at the specified endpoint using the given access token.
NewPersonContext returns a new Context that carries the person as a value.
NewQueue returns a new queue with the given initial size.
NewSync builds a Client with the synchronous implementation of the transport interface.
NewSyncTransport builds a synchronous transport which sends data to the Rollbar API at the specified endpoint using the given access token.
NewTelemetry initializes telemetry object with scrubheader.
NewTransport creates a transport that sends items to the Rollbar API asynchronously.
PersonFromContext returns the Person value stored in ctx, if any.
Platform is the platform reported for all Rollbar items.
RequestError asynchronously sends an error to Rollbar with the given severity level and request-specific information.
RequestErrorWithExtras asynchronously sends an error to Rollbar with the given severity level and request-specific information with extra custom data.
RequestErrorWithExtrasAndContext asynchronously sends an error to Rollbar with the given severity level and request-specific information with extra custom data.
RequestErrorWithStackSkip asynchronously sends an error to Rollbar with the given severity level and a given number of stack trace frames skipped, in addition to extra request-specific information.
RequestErrorWithStackSkipWithExtras asynchronously sends an error to Rollbar with the given severity level and a given number of stack trace frames skipped, in addition to extra request-specific information and extra custom data.
RequestErrorWithStackSkipWithExtrasAndContext asynchronously sends an error to Rollbar with the given severity level and a given number of stack trace frames skipped, in addition to extra request-specific information and extra custom data, within the given context.
RequestMessage asynchronously sends a message to Rollbar with the given severity level and request-specific information.
RequestMessageWithExtras asynchronously sends a message to Rollbar with the given severity level with extra custom data in addition to extra request-specific information.
RequestMessageWithExtrasAndContext asynchronously sends a message to Rollbar with the given severity level with extra custom data in addition to extra request-specific information, within the given context.
ServerHost is the currently set hostname on the managed Client instance.
ServerRoot is the currently set path to the code root set on the managed Client instance.
SetCaptureIp sets what level of IP address information to capture from requests.
SetCheckIgnore sets the checkIgnore function on the managed Client instance.
SetCodeVersion sets the code version on the managed Client instance.
No description provided by the author
SetCustom sets custom data on the managed Client instance.
SetCustomQueueSize initializes the queue with a custom size.
SetEnabled sets whether or not the managed Client instance is enabled.
SetEndpoint sets the endpoint on the managed Client instance.
SetEnvironment sets the environment on the managed Client instance.
SetFingerprint sets whether or not to use custom client-side fingerprinting on the managed Client instance.
SetHTTPClient sets custom http Client.
SetItemsPerMinute sets the max number of items to send in a given minute.
SetLogger sets an alternative logger to be used by the underlying transport layer on the managed Client instance.
SetPerson information for identifying a user associated with any subsequent errors or messages.
SetPlatform sets the platform on the managed Client instance.
SetPrintPayloadOnError sets whether or not to output the payload to stderr if an error occurs during transport to the Rollbar API.
SetRetryAttempts sets how many times to attempt to retry sending an item if the http transport experiences temporary error conditions.
SetScrubFields sets the fields to scrub on the managed Client instance.
SetScrubHeaders sets the headers to scrub on the managed Client instance.
SetServerHost sets the host value on the managed Client instance.
SetServerRoot sets the code root value on the managed Client instance.
SetStackTracer sets the StackTracerFunc used by the managed Client instance.
SetTelemetry sets the telemetry.
SetToken sets the token on the managed Client instance.
SetTransform sets the transform function called after the entire payload has been built before it is sent to the API.
SetUnwrapper sets the UnwrapperFunc used by the managed Client instance.
Token returns the currently set Rollbar access token on the managed Client instance.
Wait will block until the queue of errors / messages is empty.
Warning reports an item with level `warning`.
No description provided by the author
No description provided by the author
No description provided by the author
Wrap calls f and then recovers and reports a panic to Rollbar if it occurs.
WrapAndWait calls f, and recovers and reports a panic to Rollbar if it occurs.
WrapWithArgs calls f with the supplied args and reports a panic to Rollbar if it occurs.