mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
* DiscImageChef.Console/DicConsole.cs:
Added methods without formatting. * DiscImageChef.Decoders/ATA.cs: Typo. * DiscImageChef.Decoders/SCSI.cs: Don't try to decode Version Descriptors if there are none. Also there are devices on the wild with less than 8 VDs. * DiscImageChef/Commands/DeviceInfo.cs: Use a format-less output.
This commit is contained in:
@@ -156,6 +156,31 @@ namespace DiscImageChef.Console
|
||||
if (DebugWriteEvent != null)
|
||||
DebugWriteEvent("", null);
|
||||
}
|
||||
|
||||
public static void WriteLine(string format)
|
||||
{
|
||||
if (WriteLineEvent != null)
|
||||
WriteLineEvent(format, null);
|
||||
}
|
||||
|
||||
public static void ErrorWriteLine(string format)
|
||||
{
|
||||
if (ErrorWriteLineEvent != null)
|
||||
ErrorWriteLineEvent(format, null);
|
||||
}
|
||||
|
||||
public static void VerboseWriteLine(string format)
|
||||
{
|
||||
if (VerboseWriteLineEvent != null)
|
||||
VerboseWriteLineEvent(format, null);
|
||||
}
|
||||
|
||||
public static void DebugWriteLine(string module, string format)
|
||||
{
|
||||
if (DebugWriteLineEvent != null)
|
||||
DebugWriteLineEvent("DEBUG (" + module + "): " + format, null);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user