File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class ShaderCompiler final : public system::IApplicationFramework
27
27
if (!m_system)
28
28
return false ;
29
29
30
- m_logger = make_smart_refctd_ptr<CStdoutLogger>();
30
+ m_logger = make_smart_refctd_ptr<CStdoutLogger>(core::bitflag (ILogger::ELL_DEBUG) | ILogger::ELL_INFO | ILogger::ELL_WARNING | ILogger::ELL_PERFORMANCE | ILogger::ELL_ERROR );
31
31
32
32
auto argc = argv.size ();
33
33
@@ -120,7 +120,7 @@ class ShaderCompiler final : public system::IApplicationFramework
120
120
}
121
121
m_arguments.erase (output_flag_pos, output_flag_pos+2 );
122
122
123
- m_logger->log (" Compiled shader code will be saved to " + output_filepath);
123
+ m_logger->log (" Compiled shader code will be saved to " + output_filepath, ILogger::ELL_INFO );
124
124
}
125
125
126
126
#ifndef NBL_EMBED_BUILTIN_RESOURCES
@@ -150,7 +150,7 @@ class ShaderCompiler final : public system::IApplicationFramework
150
150
std::fstream output_file (output_filepath, std::ios::out | std::ios::binary);
151
151
output_file.write ((const char *)compilation_result->getContent ()->getPointer (), compilation_result->getContent ()->getSize ());
152
152
output_file.close ();
153
- m_logger->log (" Shader compilation successful." );
153
+ m_logger->log (" Shader compilation successful." , ILogger::ELL_INFO );
154
154
return true ;
155
155
}
156
156
else {
You can’t perform that action at this time.
0 commit comments