Skip to content

Commit

Permalink
rt: Use new module syntax for logging rt pseudo-modules
Browse files Browse the repository at this point in the history
Now use RUST_LOG=rt::mem instead of RUST_LOG=rt.mem
  • Loading branch information
brson committed May 30, 2011
1 parent 18883fe commit 973b93e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/rt/rust_log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,18 +218,18 @@ size_t log_rt_kern;
size_t log_rt_backtrace;

static const mod_entry _rt_module_map[] =
{{"rt.mem", &log_rt_mem},
{"rt.comm", &log_rt_comm},
{"rt.task", &log_rt_task},
{"rt.dom", &log_rt_dom},
{"rt.trace", &log_rt_trace},
{"rt.cache", &log_rt_cache},
{"rt.upcall", &log_rt_upcall},
{"rt.timer", &log_rt_timer},
{"rt.gc", &log_rt_gc},
{"rt.stdlib", &log_rt_stdlib},
{"rt.kern", &log_rt_kern},
{"rt.backtrace", &log_rt_backtrace},
{{"rt::mem", &log_rt_mem},
{"rt::comm", &log_rt_comm},
{"rt::task", &log_rt_task},
{"rt::dom", &log_rt_dom},
{"rt::trace", &log_rt_trace},
{"rt::cache", &log_rt_cache},
{"rt::upcall", &log_rt_upcall},
{"rt::timer", &log_rt_timer},
{"rt::gc", &log_rt_gc},
{"rt::stdlib", &log_rt_stdlib},
{"rt::kern", &log_rt_kern},
{"rt::backtrace", &log_rt_backtrace},
{NULL, NULL}};

void update_log_settings(void* crate_map, char* settings) {
Expand Down

0 comments on commit 973b93e

Please sign in to comment.