Skip to content

Commit 182e120

Browse files
committed
Fixed copy and paste errors
1 parent c95ae94 commit 182e120

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/vsg/io/Logger.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ namespace vsg
136136

137137
void error(const std::string_view& str)
138138
{
139-
if (level > LOGGER_DEBUG) return;
139+
if (level > LOGGER_ERROR) return;
140140

141141
std::scoped_lock<std::mutex> lock(_mutex);
142142
error_implementation(str);
@@ -162,7 +162,7 @@ namespace vsg
162162

163163
void fatal(const std::string_view& str)
164164
{
165-
if (level > LOGGER_DEBUG) return;
165+
if (level > LOGGER_FATAL) return;
166166

167167
std::scoped_lock<std::mutex> lock(_mutex);
168168
fatal_implementation(str);
@@ -171,7 +171,7 @@ namespace vsg
171171
template<typename... Args>
172172
void fatal(Args&&... args)
173173
{
174-
if (level > LOGGER_ERROR) return;
174+
if (level > LOGGER_FATAL) return;
175175

176176
std::scoped_lock<std::mutex> lock(_mutex);
177177
_stream.str({});

0 commit comments

Comments
 (0)