wok_log 0.0.0

logging macros and wrappers for the wok web framework
Documentation
use crate::drive::{DEBUG, drive_log, ERROR, INFO, WARN};

macro_rules! build_wrapped {
    (
        $( $ident: ident => $func: expr),*
    ) => {
        $(
            pub fn $ident(data: impl AsRef<str>) {
                drive_log($func, data)
            }
        )*
    };
}

build_wrapped! {
    debug => DEBUG,
    info => INFO,
    warn => WARN,
    error => ERROR
}