aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/archive.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-12-12 23:20:01 -0500
committerbunnei <bunneidev@gmail.com>2014-12-12 23:20:01 -0500
commitaf1cd769e7b407af71496e788e218add31f8b2b0 (patch)
tree1e3fd71256c04a15970b09abd3f7280f8b1ff678 /src/core/file_sys/archive.h
parenta6791e4fc73dda4853c8363d8ecf5094dbedd0ab (diff)
parent4d2a6f8b9b3eeb85574a5e4f93422ffd4feebcd3 (diff)
Merge pull request #258 from yuriks/log-ng
New logging system
Diffstat (limited to 'src/core/file_sys/archive.h')
-rw-r--r--src/core/file_sys/archive.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/file_sys/archive.h b/src/core/file_sys/archive.h
index f3cb11133..27ed23cd0 100644
--- a/src/core/file_sys/archive.h
+++ b/src/core/file_sys/archive.h
@@ -100,7 +100,8 @@ public:
case Wchar:
return "[Wchar: " + AsString() + ']';
default:
- ERROR_LOG(KERNEL, "LowPathType cannot be converted to string!");
+ // TODO(yuriks): Add assert
+ LOG_ERROR(Service_FS, "LowPathType cannot be converted to string!");
return {};
}
}
@@ -114,7 +115,8 @@ public:
case Empty:
return {};
default:
- ERROR_LOG(KERNEL, "LowPathType cannot be converted to string!");
+ // TODO(yuriks): Add assert
+ LOG_ERROR(Service_FS, "LowPathType cannot be converted to string!");
return {};
}
}
@@ -128,7 +130,8 @@ public:
case Empty:
return {};
default:
- ERROR_LOG(KERNEL, "LowPathType cannot be converted to u16string!");
+ // TODO(yuriks): Add assert
+ LOG_ERROR(Service_FS, "LowPathType cannot be converted to u16string!");
return {};
}
}
@@ -144,7 +147,8 @@ public:
case Empty:
return {};
default:
- ERROR_LOG(KERNEL, "LowPathType cannot be converted to binary!");
+ // TODO(yuriks): Add assert
+ LOG_ERROR(Service_FS, "LowPathType cannot be converted to binary!");
return {};
}
}