Skip to content

Commit a48ca9f

Browse files
committed
do the thing
1 parent 47799a6 commit a48ca9f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

rust/olin/src/bin/allyourlogs.rs

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#![no_main]
2+
#![feature(start)]
3+
4+
extern crate olin;
5+
6+
use olin::{log, entrypoint};
7+
8+
entrypoint!();
9+
10+
fn main() -> Result<(), std::io::Error> {
11+
let string = "hi";
12+
log::error(&string);
13+
log::warning(&string);
14+
log::info(&string);
15+
16+
Ok(())
17+
}

0 commit comments

Comments
 (0)