Skip to content

Commit f7245b5

Browse files
Fishrock123jbr
authored andcommitted
docs: add logging start to readme example.
Refs: #651 Refs: #656
1 parent ae0e532 commit f7245b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ async-std = { version = "1.6.0", features = ["attributes"] }
6060
```rust
6161
#[async_std::main]
6262
async fn main() -> Result<(), std::io::Error> {
63+
tide::log::start();
6364
let mut app = tide::new();
6465
app.at("/").get(|_| async { Ok("Hello, world!") });
6566
app.listen("127.0.0.1:8080").await?;

0 commit comments

Comments
 (0)