Currently the library will handle using the log macros to directly call println!(). Later this can be set to actually log the errors.
16 lines
223 B
Rust
16 lines
223 B
Rust
#[macro_use]
|
|
extern crate scribe;
|
|
|
|
|
|
use scribe::*;
|
|
|
|
|
|
|
|
pub fn main()
|
|
{
|
|
error!("There was an error!");
|
|
warn!("Danger Will Robinson, danger!");
|
|
info!("Jason is awesome.");
|
|
debug!("This seemed to work alright.");
|
|
}
|