diff --git a/src/typegraph/core/src/lib.rs b/src/typegraph/core/src/lib.rs index 0d1262f16..b34ebc0f7 100644 --- a/src/typegraph/core/src/lib.rs +++ b/src/typegraph/core/src/lib.rs @@ -6,7 +6,6 @@ pub use types::sdk; mod conversion; mod global_store; -mod logger; mod params; mod runtimes; mod t; diff --git a/src/typegraph/core/src/logger.rs b/src/typegraph/core/src/logger.rs deleted file mode 100644 index 655ef2d7e..000000000 --- a/src/typegraph/core/src/logger.rs +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright Metatype OÜ, licensed under the Mozilla Public License Version 2.0. -// SPDX-License-Identifier: MPL-2.0 - -#[allow(unused)] -macro_rules! debug { - ( $($arg:tt)* ) => { - println!("debug: {}", format!($($arg)*)); - }; -} - -#[allow(unused)] -macro_rules! info { - ( $($arg:tt)* ) => { - println!("info: {}", format!($($arg)*)); - }; -} - -#[allow(unused)] -macro_rules! warning { - ( $($arg:tt)* ) => { - eprintln!("warning: {}", format!($($arg)*)); - }; -} - -#[allow(unused)] -macro_rules! error { - ( $($arg:tt)* ) => { - eprintln!("error: {}", format!($($arg)*)); - }; -} - -#[allow(unused)] -pub(crate) use debug; -#[allow(unused)] -pub(crate) use error; -#[allow(unused)] -pub(crate) use info; -#[allow(unused)] -pub(crate) use warning;