mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
log: add log.use_stdout()
, use it to silence the transition note for the most commonly used V tools/examples (#23642)
This commit is contained in:
parent
23c3af8b4d
commit
319eb83525
12 changed files with 24 additions and 7 deletions
|
@ -7,6 +7,7 @@ import net.http
|
|||
const url = 'https://api.coindesk.com/v1/bpi/currentprice.json'
|
||||
|
||||
fn main() {
|
||||
log.use_stdout()
|
||||
mut old_rate := f64(0)
|
||||
for i := u64(1); true; i++ {
|
||||
data := http.get(url) or {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue