Add README.md
This commit is contained in:
parent
d066bea807
commit
ee39c87659
@ -12,6 +12,10 @@
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<None Include="..\README.md" Pack="true" PackagePath="\"/>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
|
||||
|
10
README.md
Normal file
10
README.md
Normal file
@ -0,0 +1,10 @@
|
||||
# GlaxLogger
|
||||
|
||||
## Usage
|
||||
```csharp
|
||||
Logger logger = new (filteredLevel: LogLevel.Trace, outputFolderPath: "logs");
|
||||
logger.Log(LogLevel.Information, "Content");
|
||||
```
|
||||
**Defaults**
|
||||
* `filteredLevel = LogLevel.Warning`
|
||||
* `outputFolderPath = Environment.CurrentDirectory`
|
Loading…
Reference in New Issue
Block a user