Property | Type | Description | |
---|---|---|---|
Dsn |
Property | Type | Description | |
---|---|---|---|
Application_UnhandledException | void | ||
BuildHttpClient | |||
FlushStoredPayloadsAsync | System.Threading.Tasks.Task | ||
GeneratePayloadAsync | Task |
||
GeneratePayloadAsync | Task |
||
GetBasePayloadAsync | Task |
||
HandleInternalException | void | ||
ProcessExceptionAsync | System.Threading.Tasks.Task | ||
ProcessMessageAsync | System.Threading.Tasks.Task | ||
SendPayloadAsync | Task |
||
SetDefaultExtra | object>.IDictionary | ||
SetDefaultTagsAsync | string>>.Task | ||
StorePayloadAsync | System.Threading.Tasks.Task | ||
TaskScheduler_UnobservedTaskException | void |
Method | Description | |
---|---|---|
CaptureExceptionAsync ( |
Captures an exception.
|
|
CaptureExceptionAsync ( |
Captures an exception.
|
|
CaptureMessageAsync ( string message, bool forceSend = false ) : void |
Captures a message.
|
|
CaptureMessageAsync ( string message, bool forceSend = false, RavenLogLevel level = RavenLogLevel.Info, string>.IDictionary |
Captures a message.
|
|
InitializeAsync ( |
Initializes the RavenClient class which you can then access through Instance. Call this in your App() constructor before InitializeComponent()
|
|
RegisterAsyncContextHandler ( ) : void |
Call this in the "OnLaunched" and "OnActivated" handlers of App.xaml.cs to capture unobserved async void errors.
|
|
SetUser ( string id ) : void |
Instantiates or updates the RavenUser to be sent with every Sentry request.
|
|
SetUser ( string id, string username ) : void |
Instantiates or updates the RavenUser to be sent with every Sentry request.
|
|
SetUser ( string id, string username, string email ) : void |
Instantiates or updates the RavenUser to be sent with every Sentry request.
|
Method | Description | |
---|---|---|
RavenClient ( |
Method | Description | |
---|---|---|
Application_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void | ||
BuildHttpClient ( ) : |
||
FlushStoredPayloadsAsync ( ) : System.Threading.Tasks.Task | ||
GeneratePayloadAsync ( |
||
GeneratePayloadAsync ( string message, RavenLogLevel level, string>.IDictionary |
||
GetBasePayloadAsync ( RavenLogLevel level, string>.IDictionary |
||
HandleInternalException ( |
||
ProcessExceptionAsync ( |
||
ProcessMessageAsync ( string message, RavenLogLevel level, string>.IDictionary |
||
SendPayloadAsync ( |
||
SetDefaultExtra ( object>.IDictionary |
||
SetDefaultTagsAsync ( string>.IDictionary |
||
StorePayloadAsync ( |
||
TaskScheduler_UnobservedTaskException ( object sender, System.Threading.Tasks.UnobservedTaskExceptionEventArgs e ) : void |
public CaptureExceptionAsync ( |
||
ex | The |
|
forceSend | bool | Whether to send the request immediately upon capture. |
return | void |
public CaptureExceptionAsync ( |
||
ex | The |
|
forceSend | bool | Whether to send the request immediately upon capture. |
level | RavenLogLevel | The level this exception should be logged at. |
tags | string>.IDictionary | Any additional tags to be sent with this exception. |
extra | object>.IDictionary | Any additional extra data to be sent with this exception. |
return | void |
public CaptureMessageAsync ( string message, bool forceSend = false ) : void | ||
message | string | The message text to be logged. |
forceSend | bool | Whether to send the request immediately upon capture. |
return | void |
public CaptureMessageAsync ( string message, bool forceSend = false, RavenLogLevel level = RavenLogLevel.Info, string>.IDictionary |
||
message | string | The message text to be logged. |
forceSend | bool | Whether to send the request immediately upon capture. |
level | RavenLogLevel | The level this message should be logged at. |
tags | string>.IDictionary | Any additional tags to be sent with this message. |
extra | object>.IDictionary | Any additional extra data to be sent with this message. |
return | void |
public static InitializeAsync ( |
||
dsn | ||
captureUnhandled | bool | |
return | void |
protected RavenClient ( |
||
dsn | ||
captureUnhandled | bool | |
return | Newtonsoft.Json |
public RegisterAsyncContextHandler ( ) : void | ||
return | void |
public SetUser ( string id ) : void | ||
id | string | The unique identifier of this user. |
return | void |
public SetUser ( string id, string username ) : void | ||
id | string | The unique identifier of this user. |
username | string | The username of the this user. |
return | void |
public SetUser ( string id, string username, string email ) : void | ||
id | string | The unique identifier of this user. |
username | string | The username of the this user. |
string | The email address of this user. | |
return | void |