File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ See below for examples on how to configure Honeybadger for different types of ap
37
37
``` json
38
38
{
39
39
"Honeybadger" : {
40
- "ApiKey" : " _api_key " ,
40
+ "ApiKey" : " api_key " ,
41
41
"AppEnvironment" : " Development" ,
42
42
"ReportData" : true
43
43
}
@@ -51,7 +51,7 @@ See below for examples on how to configure Honeybadger for different types of ap
51
51
52
52
#### Usage
53
53
54
- You can get access to the _ Honeybadger Client_ using _ DI_ :
54
+ You can access the _ Honeybadger Client_ using _ DI_ :
55
55
``` c#
56
56
app .MapGet (" /" , ([FromServices ] IHoneybadgerClient client ) =>
57
57
{
@@ -139,7 +139,10 @@ See example project in `examples/Honeybadger.DotNetCoreWebApp.Logger`.
139
139
```
140
140
3 . Call ` notify ` to report to Honeybadger:
141
141
``` c#
142
+ // blocking
142
143
client .Notify (" hello from .Net !" );
144
+ // or async
145
+ await client .NotifyAsync (" hello from .Net !" );
143
146
```
144
147
145
148
See example project in ` examples/Honeybadger.Console ` .
You can’t perform that action at this time.
0 commit comments