From 28c33897dafe8d77321009f9d128329ca9323623 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Tue, 19 Aug 2025 15:55:44 +0100 Subject: [PATCH] Rename DumpLog to DeviceLog. --- Aaru.Core/Logging/DeviceLog.cs | 4 ++-- Aaru.Gui/ViewModels/Windows/MediaDumpViewModel.cs | 2 +- Aaru/Commands/Device/DeviceReport.cs | 2 +- Aaru/Commands/Device/Info.cs | 2 +- Aaru/Commands/Media/Dump.cs | 2 +- Aaru/Commands/Media/Info.cs | 2 +- Aaru/Commands/Media/Scan.cs | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Aaru.Core/Logging/DeviceLog.cs b/Aaru.Core/Logging/DeviceLog.cs index cad270f71..d96ec764c 100644 --- a/Aaru.Core/Logging/DeviceLog.cs +++ b/Aaru.Core/Logging/DeviceLog.cs @@ -2,7 +2,7 @@ // Aaru Data Preservation Suite // ---------------------------------------------------------------------------- // -// Filename : DumpLog.cs +// Filename : DeviceLog.cs // Author(s) : Natalia Portillo // // Component : Core algorithms. @@ -39,7 +39,7 @@ using Aaru.Logging; namespace Aaru.Core.Logging; /// Creates a dump log -public static class DumpLog +public static class DeviceLog { /// Initializes the dump log /// Device diff --git a/Aaru.Gui/ViewModels/Windows/MediaDumpViewModel.cs b/Aaru.Gui/ViewModels/Windows/MediaDumpViewModel.cs index 17640c08b..ec60fe2ee 100644 --- a/Aaru.Gui/ViewModels/Windows/MediaDumpViewModel.cs +++ b/Aaru.Gui/ViewModels/Windows/MediaDumpViewModel.cs @@ -858,7 +858,7 @@ public sealed class MediaDumpViewModel : ViewModelBase } */ - DumpLog.StartLog(_dev, false); + DeviceLog.StartLog(_dev, false); AaruLogging.WriteLine(UI.Output_image_format_0, SelectedPlugin.Name); diff --git a/Aaru/Commands/Device/DeviceReport.cs b/Aaru/Commands/Device/DeviceReport.cs index c841368ef..79fcc2cf6 100644 --- a/Aaru/Commands/Device/DeviceReport.cs +++ b/Aaru/Commands/Device/DeviceReport.cs @@ -101,7 +101,7 @@ sealed class DeviceReportCommand : AsyncCommand return (int)ErrorNumber.CannotOpenDevice; } - DumpLog.StartLog(dev, false); + DeviceLog.StartLog(dev, false); Statistics.AddDevice(dev); diff --git a/Aaru/Commands/Device/Info.cs b/Aaru/Commands/Device/Info.cs index 5efb4ec2c..0a9e2c321 100644 --- a/Aaru/Commands/Device/Info.cs +++ b/Aaru/Commands/Device/Info.cs @@ -110,7 +110,7 @@ sealed class DeviceInfoCommand : Command Statistics.AddDevice(dev); - DumpLog.StartLog(dev, false); + DeviceLog.StartLog(dev, false); Table table; diff --git a/Aaru/Commands/Media/Dump.cs b/Aaru/Commands/Media/Dump.cs index d374df5b9..15d4d7897 100644 --- a/Aaru/Commands/Media/Dump.cs +++ b/Aaru/Commands/Media/Dump.cs @@ -474,7 +474,7 @@ sealed class DumpMediaCommand : Command IBaseWritableImage outputFormat = candidates[0]; - DumpLog.StartLog(dev, settings.Private); + DeviceLog.StartLog(dev, settings.Private); if(settings.Verbose) AaruLogging.Verbose(UI.Output_image_format_0_1, outputFormat.Name, outputFormat.Id); diff --git a/Aaru/Commands/Media/Info.cs b/Aaru/Commands/Media/Info.cs index fd0bda515..6276960db 100644 --- a/Aaru/Commands/Media/Info.cs +++ b/Aaru/Commands/Media/Info.cs @@ -116,7 +116,7 @@ sealed class MediaInfoCommand : Command return (int)ErrorNumber.CannotOpenDevice; } - DumpLog.StartLog(dev, false); + DeviceLog.StartLog(dev, false); Statistics.AddDevice(dev); diff --git a/Aaru/Commands/Media/Scan.cs b/Aaru/Commands/Media/Scan.cs index 19aebddb6..5c91f3782 100644 --- a/Aaru/Commands/Media/Scan.cs +++ b/Aaru/Commands/Media/Scan.cs @@ -101,7 +101,7 @@ sealed class MediaScanCommand : Command return (int)ErrorNumber.CannotOpenDevice; } - DumpLog.StartLog(dev, false); + DeviceLog.StartLog(dev, false); Statistics.AddDevice(dev);