1use crate::*;
3
4#[macro_export]
5macro_rules! log {
6 ($($arg:tt)*) => {
7 println!("[LOG]: {}", format!($($arg)*));
8 };
9}
10
11#[macro_export]
12macro_rules! warn {
13 ($($arg:tt)*) => {
14 eprintln!("{}[WARN]: {}{}", hexga::ansi_color::AnsiColor::YELLOW, format!($($arg)*), hexga::ansi_color::AnsiColor::RESET);
15 };
16}
17
18#[macro_export]
19macro_rules! error {
20 ($($arg:tt)*) => {
21 eprintln!("{}[ERR]: {}{}", hexga::ansi_color::AnsiColor::RED, format!($($arg)*), hexga::ansi_color::AnsiColor::RESET);
22 };
23}
24
25pub use crate::{log, warn, error};