Rename Aaru.Console to Aaru.Logging

This commit is contained in:
2025-08-17 06:11:22 +01:00
parent f2268c0bbb
commit 50061ca7d5
352 changed files with 12048 additions and 12048 deletions

View File

@@ -59,19 +59,19 @@ public sealed partial class UkvFdi
Header hdr = Marshal.ByteArrayToStructureLittleEndian<Header>(hdrB);
AaruConsole.Debug(MODULE_NAME, "hdr.addInfoLen = {0}", hdr.addInfoLen);
AaruConsole.Debug(MODULE_NAME, "hdr.cylinders = {0}", hdr.cylinders);
AaruConsole.Debug(MODULE_NAME, "hdr.dataOff = {0}", hdr.dataOff);
AaruConsole.Debug(MODULE_NAME, "hdr.descOff = {0}", hdr.descOff);
AaruConsole.Debug(MODULE_NAME, "hdr.flags = {0}", hdr.flags);
AaruConsole.Debug(MODULE_NAME, "hdr.heads = {0}", hdr.heads);
AaruLogging.Debug(MODULE_NAME, "hdr.addInfoLen = {0}", hdr.addInfoLen);
AaruLogging.Debug(MODULE_NAME, "hdr.cylinders = {0}", hdr.cylinders);
AaruLogging.Debug(MODULE_NAME, "hdr.dataOff = {0}", hdr.dataOff);
AaruLogging.Debug(MODULE_NAME, "hdr.descOff = {0}", hdr.descOff);
AaruLogging.Debug(MODULE_NAME, "hdr.flags = {0}", hdr.flags);
AaruLogging.Debug(MODULE_NAME, "hdr.heads = {0}", hdr.heads);
stream.Seek(hdr.descOff, SeekOrigin.Begin);
byte[] description = new byte[hdr.dataOff - hdr.descOff];
stream.EnsureRead(description, 0, description.Length);
_imageInfo.Comments = StringHandlers.CToString(description);
AaruConsole.Debug(MODULE_NAME, "hdr.description = \"{0}\"", _imageInfo.Comments);
AaruLogging.Debug(MODULE_NAME, "hdr.description = \"{0}\"", _imageInfo.Comments);
stream.Seek(0xE + hdr.addInfoLen, SeekOrigin.Begin);
@@ -96,10 +96,10 @@ public sealed partial class UkvFdi
byte sectors = (byte)stream.ReadByte();
uint trkOff = BitConverter.ToUInt32(sctB, 0);
AaruConsole.Debug(MODULE_NAME, "trkhdr.c = {0}", cyl);
AaruConsole.Debug(MODULE_NAME, "trkhdr.h = {0}", head);
AaruConsole.Debug(MODULE_NAME, "trkhdr.sectors = {0}", sectors);
AaruConsole.Debug(MODULE_NAME, "trkhdr.off = {0}", trkOff);
AaruLogging.Debug(MODULE_NAME, "trkhdr.c = {0}", cyl);
AaruLogging.Debug(MODULE_NAME, "trkhdr.h = {0}", head);
AaruLogging.Debug(MODULE_NAME, "trkhdr.sectors = {0}", sectors);
AaruLogging.Debug(MODULE_NAME, "trkhdr.off = {0}", trkOff);
sectorsOff[cyl][head] = new uint[sectors];
_sectorsData[cyl][head] = new byte[sectors][];
@@ -117,13 +117,13 @@ public sealed partial class UkvFdi
stream.EnsureRead(offB, 0, 2);
ushort secOff = BitConverter.ToUInt16(offB, 0);
AaruConsole.Debug(MODULE_NAME, "sechdr.c = {0}", c);
AaruConsole.Debug(MODULE_NAME, "sechdr.h = {0}", h);
AaruConsole.Debug(MODULE_NAME, "sechdr.r = {0}", r);
AaruConsole.Debug(MODULE_NAME, "sechdr.n = {0} ({1})", n, 128 << n);
AaruConsole.Debug(MODULE_NAME, "sechdr.f = {0}", f);
AaruLogging.Debug(MODULE_NAME, "sechdr.c = {0}", c);
AaruLogging.Debug(MODULE_NAME, "sechdr.h = {0}", h);
AaruLogging.Debug(MODULE_NAME, "sechdr.r = {0}", r);
AaruLogging.Debug(MODULE_NAME, "sechdr.n = {0} ({1})", n, 128 << n);
AaruLogging.Debug(MODULE_NAME, "sechdr.f = {0}", f);
AaruConsole.Debug(MODULE_NAME,
AaruLogging.Debug(MODULE_NAME,
"sechdr.off = {0} ({1})",
secOff,
secOff + trkOff + hdr.dataOff);