Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec / src / log.ml @ 521e2a6b

History | View | Annotate | Download (1015 Bytes)

1
(********************************************************************)
2
(*                                                                  *)
3
(*  The LustreC compiler toolset   /  The LustreC Development Team  *)
4
(*  Copyright 2012 -    --   ONERA - CNRS - INPT                    *)
5
(*                                                                  *)
6
(*  LustreC is free software, distributed WITHOUT ANY WARRANTY      *)
7
(*  under the terms of the GNU Lesser General Public License        *)
8
(*  version 2.1.                                                    *)
9
(*                                                                  *)
10
(********************************************************************)
11

    
12
let report ~level:level p =
13
if !Options.verbose_level >= level then
14
  begin
15
    Format.eprintf "%t" p;
16
  (* Removed the flush since it was breaking most open/close boxes *)
17
  (* Format.pp_print_flush Format.err_formatter () *)
18
  end
19

    
20
(* Local Variables: *)
21
(* compile-command:"make -C .." *)
22
(* End: *)
23