Skip to content

Commit

Permalink
[CastIt] Added missing logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfteam committed Jun 26, 2021
1 parent ccfc98f commit 75037ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion CastIt/Services/CastItHubClientService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

namespace CastIt.Services
{
//TODO: TRY CATCH THEM ALL (the events)
public class CastItHubClientService : ICastItHubClientService
{
private readonly ILogger<CastItHubClientService> _logger;
Expand Down
2 changes: 1 addition & 1 deletion CastIt/Services/DesktopAppSettingsService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protected override string BasePath
=> AppFileUtils.GetBaseAppFolder();

public override string AppSettingsFilename
=> "AppSettings.json";
=> "DesktopAppSettings.json";

#region Properties
public AppLanguageType Language
Expand Down
3 changes: 3 additions & 0 deletions CastIt/SetupApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ private static void SetupLogging()
var basePath = AppFileUtils.GetLogsPath();
var logs = new List<FileToLog>
{
//Services
new FileToLog(typeof(CastItHubClientService), "service_castithub"),
new FileToLog(typeof(DesktopAppSettingsService), "service_settings"),
//ViewModels
new FileToLog(typeof(MainViewModel), "vm_main"),
new FileToLog(typeof(DevicesViewModel), "vm_devices"),
Expand Down

0 comments on commit 75037ae

Please sign in to comment.