mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Rename Aaru.Console to Aaru.Logging
This commit is contained in:
@@ -107,7 +107,7 @@ public sealed partial class TeleDisk
|
||||
|
||||
break;
|
||||
default:
|
||||
AaruConsole.Error(string.Format(Localization.Sector_size_0_is_incorrect, sectorSize));
|
||||
AaruLogging.Error(string.Format(Localization.Sector_size_0_is_incorrect, sectorSize));
|
||||
|
||||
return ErrorNumber.InvalidArgument;
|
||||
}
|
||||
@@ -136,19 +136,19 @@ public sealed partial class TeleDisk
|
||||
outs += decodedPiece.Length;
|
||||
}
|
||||
|
||||
AaruConsole.Debug(MODULE_NAME,
|
||||
AaruLogging.Debug(MODULE_NAME,
|
||||
Localization.Block_pattern_decoder_Input_data_size_0_bytes,
|
||||
encodedData.Length);
|
||||
|
||||
AaruConsole.Debug(MODULE_NAME,
|
||||
AaruLogging.Debug(MODULE_NAME,
|
||||
Localization.Block_pattern_decoder_Processed_input_0_bytes,
|
||||
ins);
|
||||
|
||||
AaruConsole.Debug(MODULE_NAME,
|
||||
AaruLogging.Debug(MODULE_NAME,
|
||||
Localization.Block_pattern_decoder_Output_data_size_0_bytes,
|
||||
decodedData.Length);
|
||||
|
||||
AaruConsole.Debug(MODULE_NAME,
|
||||
AaruLogging.Debug(MODULE_NAME,
|
||||
Localization.Block_pattern_decoder_Processed_Output_0_bytes,
|
||||
outs);
|
||||
|
||||
@@ -186,22 +186,22 @@ public sealed partial class TeleDisk
|
||||
}
|
||||
}
|
||||
|
||||
AaruConsole.Debug(MODULE_NAME,
|
||||
AaruLogging.Debug(MODULE_NAME,
|
||||
Localization.RLE_decoder_Input_data_size_0_bytes,
|
||||
encodedData.Length);
|
||||
|
||||
AaruConsole.Debug(MODULE_NAME, Localization.RLE_decoder_Processed_input_0_bytes, ins);
|
||||
AaruLogging.Debug(MODULE_NAME, Localization.RLE_decoder_Processed_input_0_bytes, ins);
|
||||
|
||||
AaruConsole.Debug(MODULE_NAME,
|
||||
AaruLogging.Debug(MODULE_NAME,
|
||||
Localization.RLE_decoder_Output_data_size_0_bytes,
|
||||
decodedData.Length);
|
||||
|
||||
AaruConsole.Debug(MODULE_NAME, Localization.RLE_decoder_Processed_Output_0_bytes, outs);
|
||||
AaruLogging.Debug(MODULE_NAME, Localization.RLE_decoder_Processed_Output_0_bytes, outs);
|
||||
|
||||
break;
|
||||
}
|
||||
default:
|
||||
AaruConsole.Error(string.Format(Localization.Data_encoding_0_is_incorrect, encodingType));
|
||||
AaruLogging.Error(string.Format(Localization.Data_encoding_0_is_incorrect, encodingType));
|
||||
|
||||
return ErrorNumber.InvalidArgument;
|
||||
}
|
||||
@@ -280,7 +280,7 @@ public sealed partial class TeleDisk
|
||||
return MediaType.ECMA_78_2;
|
||||
default:
|
||||
{
|
||||
AaruConsole.Debug(MODULE_NAME, "Unknown 5,25\" disk with {0} bytes", _totalDiskSize);
|
||||
AaruLogging.Debug(MODULE_NAME, "Unknown 5,25\" disk with {0} bytes", _totalDiskSize);
|
||||
|
||||
return MediaType.Unknown;
|
||||
}
|
||||
@@ -327,7 +327,7 @@ public sealed partial class TeleDisk
|
||||
return MediaType.SHARP_35;
|
||||
default:
|
||||
{
|
||||
AaruConsole.Debug(MODULE_NAME, "Unknown 3,5\" disk with {0} bytes", _totalDiskSize);
|
||||
AaruLogging.Debug(MODULE_NAME, "Unknown 3,5\" disk with {0} bytes", _totalDiskSize);
|
||||
|
||||
return MediaType.Unknown;
|
||||
}
|
||||
@@ -375,7 +375,7 @@ public sealed partial class TeleDisk
|
||||
return MediaType.ECMA_69_26;
|
||||
default:
|
||||
{
|
||||
AaruConsole.Debug(MODULE_NAME, "Unknown 8\" disk with {0} bytes", _totalDiskSize);
|
||||
AaruLogging.Debug(MODULE_NAME, "Unknown 8\" disk with {0} bytes", _totalDiskSize);
|
||||
|
||||
return MediaType.Unknown;
|
||||
}
|
||||
@@ -383,7 +383,7 @@ public sealed partial class TeleDisk
|
||||
}
|
||||
default:
|
||||
{
|
||||
AaruConsole.Debug(MODULE_NAME,
|
||||
AaruLogging.Debug(MODULE_NAME,
|
||||
"Unknown drive type {1} with {0} bytes",
|
||||
_totalDiskSize,
|
||||
_header.DriveType);
|
||||
|
||||
Reference in New Issue
Block a user