Remove old logging functions
This commit is contained in:
parent
c41ec1d85c
commit
127c99f16f
1 changed files with 0 additions and 16 deletions
|
@ -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 {
|
||||
self.config.is_verbose()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue