Logging #26
@ -37,8 +37,7 @@ static LOG_DIR: Lazy<String> = Lazy::new(|| {
|
|||||||
|
|
||||||
/// Tests if the macro logs properly with a given config.
|
/// Tests if the macro logs properly with a given config.
|
||||||
#[test]
|
#[test]
|
||||||
pub fn log_macro_given_config()
|
pub fn log_macro_given_config() {
|
||||||
{
|
|
||||||
let log_path = &format!("{}/{}", *LOG_DIR, Uuid::new_v4());
|
let log_path = &format!("{}/{}", *LOG_DIR, Uuid::new_v4());
|
||||||
println!("Log Path: {log_path}");
|
println!("Log Path: {log_path}");
|
||||||
let message = LogMessageType::GenericWarn(String::from("Test Log")).log_message();
|
let message = LogMessageType::GenericWarn(String::from("Test Log")).log_message();
|
||||||
|
Reference in New Issue
Block a user