History

Enable logging from exec for specific components. Remove trailing newlines from all existing logging calls.

arr committed 9 years ago

Commit dd0789c1 parent 3098fb816 files · +185 −112Browse files

Showing the changes to src/vm/vm.cpp (1 of 16 files). Show all

Unified · Split

src/vm/vm.cpp+2−2
@@ -144,7 +144,7 @@ std::shared_ptr<runtime::vm_module_t> vm_t::load_module(const char *path) · 143 unmodified lines
144 144
145 iter->module = module;145 iter->module = module;
146 146
147 debug::log_msg(debug::component_trace_t::module, debug::log_level_t::debug, "reload: vm module: >>%s<<\n", path);147 debug::log_msg(debug::component_trace_t::module, debug::log_level_t::debug, "reload: vm module: >>%s<<", path);
148 }148 }
149 149
150 return module;150 return module;
@@ -182,7 +182,7 @@ std::shared_ptr<runtime::vm_module_t> vm_t::load_module(const char *path) · 31 unmodified lines
182 }182 }
183 183
184 if (debug::is_component_tracing_enabled<debug::component_trace_t::module>())184 if (debug::is_component_tracing_enabled<debug::component_trace_t::module>())
185 debug::log_msg(debug::component_trace_t::module, debug::log_level_t::debug, "load: vm module: >>%s<<\n", path);185 debug::log_msg(debug::component_trace_t::module, debug::log_level_t::debug, "load: vm module: >>%s<<", path);
186 186
187 return new_module;187 return new_module;
188}188}