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/list.cpp (1 of 16 files). Show all

Unified · Split

src/vm/list.cpp+2−2
@@ -39,7 +39,7 @@ vm_list_t::vm_list_t(std::shared_ptr<const type_descriptor_t> td, vm_list_t *tai · 38 unmodified lines
3939 }
4040
4141 if (debug::is_component_tracing_enabled<debug::component_trace_t::memory>())
42− debug::log_msg(debug::component_trace_t::memory, debug::log_level_t::debug, "init: vm list\n");
42+ debug::log_msg(debug::component_trace_t::memory, debug::log_level_t::debug, "init: vm list");
4343 }
4444
4545 vm_list_t::~vm_list_t()
@@ -60,7 +60,7 @@ vm_list_t::~vm_list_t() · 14 unmodified lines
6060 }
6161
6262 debug::assign_debug_pointer(&_mem.alloc);
63− debug::log_msg(debug::component_trace_t::memory, debug::log_level_t::debug, "destroy: vm list\n");
63+ debug::log_msg(debug::component_trace_t::memory, debug::log_level_t::debug, "destroy: vm list");
6464 }
6565
6666 std::shared_ptr<const type_descriptor_t> vm_list_t::get_element_type() const