Skip to content

Commit

Permalink
Logger provider alias
Browse files Browse the repository at this point in the history
  • Loading branch information
benaclejames committed Apr 28, 2023
1 parent 809a543 commit 283a282
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

namespace VRCFaceTracking.Core.Services;

[ProviderAlias("Debug")]
public class LogFileProvider : ILoggerProvider
{
private readonly FileStream _file;
Expand Down
7 changes: 6 additions & 1 deletion VRCFaceTracking/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
"LogLevel": {
"Default": "Information"
},
"VRCFaceTracking.Core.Services.LogFileProvider": {
"Debug": {
"LogLevel": {
"Default": "Debug"
}
},
"LogFile": {
"LogLevel": {
"Default": "Debug"
}
Expand Down

0 comments on commit 283a282

Please sign in to comment.