Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
devr24 authored Feb 21, 2019
1 parent 055f52d commit ee9038e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Provider classes found in the _Cloud.Core.Telemetry.Logging_ package.

As the logger follows the base `ILogger` implementation, it's very flexible in how it can be used. To create an instance, do the following:

```
```csharp
var logger = new AppInsightsLogger("insightsKey");

logger.LogInformation("Sample information message");
Expand All @@ -22,9 +22,9 @@ logger.LogException("Sample exception message");

Any of the logging methods can also handle exception, such as:

```
```csharp
logger.LogWarning(new Exception("Something's gone wrong!"));
``
```

## Test Coverage
A threshold will be added to this package to ensure the test coverage is above 80% for branches, functions and lines. If it's not above the required threshold
Expand Down

0 comments on commit ee9038e

Please sign in to comment.