Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Commit

Permalink
add calls to logger
Browse files Browse the repository at this point in the history
  • Loading branch information
pad committed Feb 9, 2012
1 parent 5d8d0cd commit 8526924
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions main_scheck.ml
Expand Up @@ -194,6 +194,7 @@ let pr2_dbg s =
(*****************************************************************************)

let main_action xs =
Common.logger Config.logger "scheck";

let files = Lib_parsing_php.find_php_files_of_dir_or_files xs in
let errors = ref [] in
Expand Down
1 change: 1 addition & 0 deletions main_scheck_heavy.ml
Expand Up @@ -59,6 +59,7 @@ let pr2_dbg s =

(* mostly a copy paste of main_scheck.ml but now use metapath *)
let main_action xs =
Common.logger Config.logger "scheck_heavy";

let files = Lib_parsing_php.find_php_files_of_dir_or_files xs in
let errors = ref [] in
Expand Down
1 change: 1 addition & 0 deletions main_sgrep.ml
Expand Up @@ -118,6 +118,7 @@ let gen_layer ~root ~query file =
(* Main action *)
(*****************************************************************************)
let main_action xs =
Common.logger Config.logger "sgrep";

let pattern, query_string =
match !pattern_file, !pattern_string with
Expand Down
1 change: 1 addition & 0 deletions main_spatch.ml
Expand Up @@ -143,6 +143,7 @@ let apply_transfo transfo xs =
(*****************************************************************************)

let main_action xs =
Common.logger Config.logger "spatch";

let spatch_file =
match !spatch_file, !sed_string with
Expand Down
1 change: 1 addition & 0 deletions main_stags.ml
Expand Up @@ -88,6 +88,7 @@ let rec defs_of_files_or_dirs lang xs =
(*****************************************************************************)

let main_action xs =
Common.logger Config.logger "stags";

(* This can augment the size of the tags file
let xs = List.map relative_to_absolute xs in
Expand Down

0 comments on commit 8526924

Please sign in to comment.