Skip to content

Commit

Permalink
moved console logger from engine to utils
Browse files Browse the repository at this point in the history
  • Loading branch information
pveber committed Sep 21, 2018
1 parent 03ce000 commit 5c16144
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/engine/console_logger.mli

This file was deleted.

2 changes: 1 addition & 1 deletion lib/pack/bistro_pack.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include Bistro

type logger = Bistro_engine.Logger.t
let null_logger () = Bistro_engine.Logger.null
let console_logger () = Bistro_engine.Console_logger.create ()
let console_logger () = Bistro_utils.Console_logger.create ()

(* let eval_expr ?np ?mem ?loggers ?use_docker:_ (\* FIXME *\) ?(bistro_dir = "_bistro") expr =
* let open Bistro_engine in
Expand Down
2 changes: 1 addition & 1 deletion lib/pack/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
(library
((name bistro_pack)
(public_name bistro.pack)
(libraries (bistro.bioinfo bistro.engine))
(libraries (bistro.bioinfo bistro.engine bistro.utils))
(preprocess (pps (ppx_sexp_conv)))
))
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
open Core
open Lwt
open Bistro_engine

let zone = Lazy.force Time.Zone.local

Expand Down
1 change: 1 addition & 0 deletions lib/utils/console_logger.mli
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
val create : unit -> Bistro_engine.Logger.t

0 comments on commit 5c16144

Please sign in to comment.