mirror of
https://github.com/Ellpeck/ExtremelySimpleLogger.git
synced 2024-11-25 02:58:34 +01:00
nuget ref
This commit is contained in:
parent
eeb063fd55
commit
ac20d96a9f
1 changed files with 8 additions and 1 deletions
|
@ -1,7 +1,14 @@
|
|||
# ExtremelySimpleLogger
|
||||
**A very simple logger for .NET programs.**
|
||||
|
||||
To set up an extremely simple logger, you have to create an instance of the `Logger` class:
|
||||
To set up an extremely simple logger, add a reference to the [NuGet package](https://www.nuget.org/packages/ExtremelySimpleLogger/) to your project file. Remember to change the `VERSION` to the most recent one.
|
||||
```xml
|
||||
<ItemGroup>
|
||||
<PackageReference Include="ExtremelySimpleLogger" Version="VERSION" />
|
||||
</ItemGroup>
|
||||
```
|
||||
|
||||
Next, you have to create an instance of the `Logger` class:
|
||||
```cs
|
||||
var logger = new Logger {
|
||||
Name = "My Logger",
|
||||
|
|
Loading…
Reference in a new issue