log-table 0.1.1

Print and save logs in a table format.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod color;
pub mod logger;

// Re-export indexmap for macro use
pub use indexmap;

#[macro_export]
macro_rules! table_data {
    ($($key:ident : $value:expr),* $(,)?) => {{
        let mut map = $crate::indexmap::IndexMap::new();
        $(
            let value_str = format!("{}", $value);
            map.insert(stringify!($key), value_str);
        )*
        map
    }};
}