diff options
| author | 2014-12-12 23:20:01 -0500 | |
|---|---|---|
| committer | 2014-12-12 23:20:01 -0500 | |
| commit | af1cd769e7b407af71496e788e218add31f8b2b0 (patch) | |
| tree | 1e3fd71256c04a15970b09abd3f7280f8b1ff678 /src/core/file_sys/archive.h | |
| parent | Merge pull request #267 from bunnei/apt-shared-font (diff) | |
| parent | Remove old logging system (diff) | |
| download | yuzu-af1cd769e7b407af71496e788e218add31f8b2b0.tar.gz yuzu-af1cd769e7b407af71496e788e218add31f8b2b0.tar.xz yuzu-af1cd769e7b407af71496e788e218add31f8b2b0.zip | |
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.h | 12 |
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: | |||
| 100 | case Wchar: | 100 | case Wchar: |
| 101 | return "[Wchar: " + AsString() + ']'; | 101 | return "[Wchar: " + AsString() + ']'; |
| 102 | default: | 102 | default: |
| 103 | ERROR_LOG(KERNEL, "LowPathType cannot be converted to string!"); | 103 | // TODO(yuriks): Add assert |
| 104 | LOG_ERROR(Service_FS, "LowPathType cannot be converted to string!"); | ||
| 104 | return {}; | 105 | return {}; |
| 105 | } | 106 | } |
| 106 | } | 107 | } |
| @@ -114,7 +115,8 @@ public: | |||
| 114 | case Empty: | 115 | case Empty: |
| 115 | return {}; | 116 | return {}; |
| 116 | default: | 117 | default: |
| 117 | ERROR_LOG(KERNEL, "LowPathType cannot be converted to string!"); | 118 | // TODO(yuriks): Add assert |
| 119 | LOG_ERROR(Service_FS, "LowPathType cannot be converted to string!"); | ||
| 118 | return {}; | 120 | return {}; |
| 119 | } | 121 | } |
| 120 | } | 122 | } |
| @@ -128,7 +130,8 @@ public: | |||
| 128 | case Empty: | 130 | case Empty: |
| 129 | return {}; | 131 | return {}; |
| 130 | default: | 132 | default: |
| 131 | ERROR_LOG(KERNEL, "LowPathType cannot be converted to u16string!"); | 133 | // TODO(yuriks): Add assert |
| 134 | LOG_ERROR(Service_FS, "LowPathType cannot be converted to u16string!"); | ||
| 132 | return {}; | 135 | return {}; |
| 133 | } | 136 | } |
| 134 | } | 137 | } |
| @@ -144,7 +147,8 @@ public: | |||
| 144 | case Empty: | 147 | case Empty: |
| 145 | return {}; | 148 | return {}; |
| 146 | default: | 149 | default: |
| 147 | ERROR_LOG(KERNEL, "LowPathType cannot be converted to binary!"); | 150 | // TODO(yuriks): Add assert |
| 151 | LOG_ERROR(Service_FS, "LowPathType cannot be converted to binary!"); | ||
| 148 | return {}; | 152 | return {}; |
| 149 | } | 153 | } |
| 150 | } | 154 | } |