From 880be6a94013ba0b7791b0ca1b6e16104f2f0a1c Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Tue, 19 Apr 2011 12:21:57 +0200 Subject: Overhaul logging system in runtime See https://github.com/graydon/rust/wiki/Logging-vision The runtime logging categories are now treated in the same way as modules in compiled code. Each domain now has a log_lvl that can be used to restrict the logging from that domain (will be used to allow logging to be restricted to a single domain). Features dropped (can be brought back to life if there is interest): - Logger indentation - Multiple categories per log statement - I possibly broke some of the color code -- it confuses me --- src/rt/rust_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/rust_internal.h') diff --git a/src/rt/rust_internal.h b/src/rt/rust_internal.h index 4a1f3e45..2676e9b9 100644 --- a/src/rt/rust_internal.h +++ b/src/rt/rust_internal.h @@ -48,8 +48,8 @@ extern "C" { #include "sync/lock_free_queue.h" class rust_dom; -class rust_log; class rust_task; +class rust_log; class rust_port; class rust_chan; struct rust_token; -- cgit v1.2.3