Commit a7e25482 authored by Philippe Veber's avatar Philippe Veber
Browse files

Debug: added console logger

parent 396a7ca6
......@@ -5,7 +5,8 @@ open Bistro_engine
let with_workflow w ~f =
let open Scheduler in
let db = Db.init_exn "_bistro" in
let sched = create ~np:8 ~mem:(`GB 8) db in
let loggers = [ Bistro_utils.Console_logger.create () ] in
let sched = create ~np:8 ~mem:(`GB 8) ~loggers db in
let thread = eval_exn sched w in
start sched ; thread
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment