mirror of https://github.com/akuker/RASCSI.git
Do not suppress controller messages when LUN is specified
This commit is contained in:
parent
02e19db539
commit
bfe23d7078
|
@ -39,7 +39,7 @@ void DeviceLogger::Error(const string& message) const
|
|||
|
||||
void DeviceLogger::Log(level::level_enum level, const string& message) const
|
||||
{
|
||||
if ((log_device_id == -1 || log_device_id == id) && (log_device_lun == -1 || log_device_lun == lun)) {
|
||||
if ((log_device_id == -1 || log_device_id == id) && (lun == -1 || log_device_lun == -1 || log_device_lun == lun)) {
|
||||
if (lun == -1) {
|
||||
log(level, "(ID " + to_string(id) + ") - " + message);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue