Turned this into a basic and simple logging system for now.
Currently the library will handle using the log macros to directly call println!(). Later this can be set to actually log the errors.
This commit is contained in:
@ -1,14 +1,8 @@
|
||||
#[macro_use]
|
||||
extern crate scribe;
|
||||
|
||||
use scribe::LogLevel;
|
||||
use scribe::location::Location;
|
||||
use scribe::entry::Entry;
|
||||
|
||||
|
||||
#[test]
|
||||
pub fn test_log_call()
|
||||
pub fn test_blank()
|
||||
{
|
||||
//log!(LogLevel::ERROR, "Test");
|
||||
write_to_log!()
|
||||
}
|
||||
|
Reference in New Issue
Block a user