Daniel Parks bd8ecf5d5e
Fix ConsoleService::new().log() in doc examples (#2017) (#2018)
A few examples in the web site docs use `ConsoleService::new().log()` or
similar calls, but the correct call is `ConsoleService::log()`. This
change fixes all such instances.

This also fixes uses of `format!()` as a parameter to `ConsoleService`
logging. `log()` and friends require a ref, so the following is correct:

```rust
ConsoleService::info(format!("Update: {:?}", msg).as_ref());
```

I fixed examples for current even though I cannot find `ConsoleService`
in the master branch. I figure my change is no less correct than what
was already there.
2021-08-28 13:14:49 +02:00
..