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
|
@ -8,6 +8,7 @@ import sim.args as simargs
|
|||
|
||||
fn main() {
|
||||
unbuffer_stdout()
|
||||
log.use_stdout()
|
||||
args := simargs.parse_args(extra_workers: 1)! as simargs.ParallelArgs
|
||||
mut app := anim.new_app(args)
|
||||
mut workers := []thread{cap: args.workers}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue