Error logging now generates a panic.
This means that the error macro must be called last in the example.
This commit is contained in:
@ -5,8 +5,8 @@ extern crate scribe;
|
||||
|
||||
pub fn main()
|
||||
{
|
||||
error!("There was an error!");
|
||||
warn!("Danger Will Robinson, danger!");
|
||||
info!("Jason is awesome.");
|
||||
debug!("This seemed to work alright.");
|
||||
info!("Jason is awesome.");
|
||||
warn!("Danger Will Robinson, danger!");
|
||||
error!("There was an error!");
|
||||
}
|
||||
|
Reference in New Issue
Block a user