You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@
16
16
17
17
To install the library from [NuGet](https://www.nuget.org/packages/MartinCostello.Logging.XUnit/"MartinCostello.Logging.XUnit on NuGet.org") using the .NET SDK run:
18
18
19
-
```
19
+
```console
20
20
dotnet add package MartinCostello.Logging.XUnit
21
21
```
22
22
@@ -65,16 +65,17 @@ public sealed class Calculator(ILogger<Calculator> logger)
65
65
```
66
66
67
67
See below for links to more examples:
68
-
1.[Unit tests](https://github.com/martincostello/xunit-logging/blob/main/tests/Logging.XUnit.Tests/Examples.cs"Unit test examples")
69
-
1.[Integration tests for an ASP.NET Core HTTP application](https://github.com/martincostello/xunit-logging/blob/main/tests/Logging.XUnit.Tests/Integration/HttpApplicationTests.cs"Integration test examples")
68
+
69
+
-[Unit tests](https://github.com/martincostello/xunit-logging/blob/main/tests/Logging.XUnit.Tests/Examples.cs"Unit test examples")
70
+
-[Integration tests for an ASP.NET Core HTTP application](https://github.com/martincostello/xunit-logging/blob/main/tests/Logging.XUnit.Tests/Integration/HttpApplicationTests.cs"Integration test examples")
70
71
71
72
## Feedback
72
73
73
74
Any feedback or issues can be added to the issues for this project in [GitHub](https://github.com/martincostello/xunit-logging/issues"Issues for this project on GitHub.com").
74
75
75
76
## Repository
76
77
77
-
The repository is hosted in [GitHub](https://github.com/martincostello/xunit-logging"This project on GitHub.com"): https://github.com/martincostello/xunit-logging.git
78
+
The repository is hosted in [GitHub](https://github.com/martincostello/xunit-logging"This project on GitHub.com"): <https://github.com/martincostello/xunit-logging.git>
logger.LogInformation("The sum of {x} and {y} is {sum}.", x, y, sum);
45
+
46
+
returnsum;
47
+
}
48
+
}
49
+
```
50
+
51
+
## Feedback
52
+
53
+
Any feedback or issues can be added to the issues for this project in [GitHub](https://github.com/martincostello/xunit-logging/issues"Issues for this project on GitHub.com").
54
+
55
+
## License
56
+
57
+
This project is licensed under the [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt"The Apache 2.0 license") license.
0 commit comments