mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-10 02:29:33 +00:00
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
|
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) {
|
if (lun == -1) {
|
||||||
log(level, "(ID " + to_string(id) + ") - " + message);
|
log(level, "(ID " + to_string(id) + ") - " + message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user