Remove old logging functions

This commit is contained in:
Matthias Beyer 2015-10-26 20:53:49 +01:00
parent c41ec1d85c
commit 127c99f16f

View file

@ -67,22 +67,6 @@ impl<'a> Runtime<'a> {
} }
} }
pub fn debug(&self, string : &'static str) {
if self.config.is_debugging() {
println!("{}", string);
}
}
pub fn print(&self, string : &'static str) {
if self.config.is_verbose() || self.config.is_debugging() {
println!("{}", string);
}
}
pub fn trace(string : &'static str) {
// writeln!(&mut stderr, "{}", string);
}
pub fn is_verbose(&self) -> bool { pub fn is_verbose(&self) -> bool {
self.config.is_verbose() self.config.is_verbose()
} }