about summary refs log tree commit diff
path: root/src/libstd/logging.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-09-27 21:56:04 -0700
committerbors <bors@rust-lang.org>2013-09-27 21:56:04 -0700
commitc151d371fcfb51fbf4d84f0ef266e30d64acd71a (patch)
treef6bc067e9c637d9fbf70b418d579e4448eba74c2 /src/libstd/logging.rs
parent4a2f8ba8c9dc2e145859fa761e7e912dbf3cf598 (diff)
parent46aaf5128df346b2a8c16524acc9c3703705459b (diff)
downloadrust-c151d371fcfb51fbf4d84f0ef266e30d64acd71a.tar.gz
rust-c151d371fcfb51fbf4d84f0ef266e30d64acd71a.zip
auto merge of #9562 : alexcrichton/rust/snapshots, r=thestinger
Diffstat (limited to 'src/libstd/logging.rs')
-rw-r--r--src/libstd/logging.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libstd/logging.rs b/src/libstd/logging.rs
index 342d0828f82..27a2af95a2a 100644
--- a/src/libstd/logging.rs
+++ b/src/libstd/logging.rs
@@ -37,16 +37,7 @@ pub fn console_off() {
     rt::logging::console_off();
 }
 
-#[cfg(stage0)]
-#[doc(hidden)]
-pub fn log(_level: u32, s: ~str) {
-    // this is a terrible approximation, but it gets the job done (for stage0 at
-    // least)
-    ::io::println(s);
-}
-
 #[allow(missing_doc)]
-#[cfg(not(stage0))]
 pub fn log(_level: u32, args: &fmt::Arguments) {
     use rt::task::Task;
     use rt::local::Local;