Change the logging infrastructure:
authorKim Nguyễn <kn@lri.fr>
Tue, 20 Mar 2012 20:17:18 +0000 (21:17 +0100)
committerKim Nguyễn <kn@lri.fr>
Tue, 20 Mar 2012 20:17:18 +0000 (21:17 +0100)
commit3791216bfb2b9d966718f83fd414e8bcd5f7a066
tree71fc9a441981d34143b5d280cfe45b1fc8ce03fc
parent468560acb04b8936936080e81152d926c251df30
Change the logging infrastructure:
       - rely on the Format module to correctly indent log messages
       - re-use the Pretty module has much as possible to print
       sequences and arrays.
       - add version of print_list and print_array that take a printer
       as optional argument to print the separator (rather than a string).
13 files changed:
include/log.ml
include/utils.ml
src/ata.ml
src/l2JIT.ml
src/logger.ml
src/logger.mli
src/options.ml
src/pretty.ml
src/pretty.mli
src/resJIT.ml
src/runtime.ml
src/transition.ml
src/translist.ml