summaryrefslogtreecommitdiff
path: root/compiler/Logging.ml
blob: 721655b895b42ebca1ace93ff653d42c19c9ba9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
include Charon.Logging

(** Below, we create subgloggers for various submodules, so that we can precisely
    toggle logging on/off, depending on which information we need *)

(** Logger for PrePasses *)
let pre_passes_log = L.get_logger "MainLogger.PrePasses"

(** Logger for Translate *)
let translate_log = L.get_logger "MainLogger.Translate"

(** Logger for Contexts *)
let contexts_log = L.get_logger "MainLogger.Contexts"

(** Logger for PureUtils *)
let pure_utils_log = L.get_logger "MainLogger.PureUtils"

(** Logger for SymbolicToPure *)
let symbolic_to_pure_log = L.get_logger "MainLogger.SymbolicToPure"

(** Logger for PureMicroPasses *)
let pure_micro_passes_log = L.get_logger "MainLogger.PureMicroPasses"

(** Logger for ExtractBase *)
let extract_log = L.get_logger "MainLogger.ExtractBase"

(** Logger for Interpreter *)
let interpreter_log = L.get_logger "MainLogger.Interpreter"

(** Logger for InterpreterLoopsMatchCtxs *)
let loops_match_ctxs_log = L.get_logger "MainLogger.Interpreter.LoopsMatchCtxs"

(** Logger for InterpreterLoopsJoinCtxs *)
let loops_join_ctxs_log = L.get_logger "MainLogger.Interpreter.LoopsJoinCtxs"

(** Logger for InterpreterLoopsFixedPoint *)
let loops_fixed_point_log = L.get_logger "MainLogger.Interpreter.FixedPoint"

(** Logger for InterpreterLoops *)
let loops_log = L.get_logger "MainLogger.Interpreter.Loops"

(** Logger for InterpreterStatements *)
let statements_log = L.get_logger "MainLogger.Interpreter.Statements"

(** Logger for InterpreterExpressions *)
let expressions_log = L.get_logger "MainLogger.Interpreter.Expressions"

(** Logger for InterpreterPaths *)
let paths_log = L.get_logger "MainLogger.Interpreter.Paths"

(** Logger for InterpreterExpansion *)
let expansion_log = L.get_logger "MainLogger.Interpreter.Expansion"

(** Logger for InterpreterProjectors *)
let projectors_log = L.get_logger "MainLogger.Interpreter.Projectors"

(** Logger for InterpreterBorrows *)
let borrows_log = L.get_logger "MainLogger.Interpreter.Borrows"

(** Logger for Invariants *)
let invariants_log = L.get_logger "MainLogger.Interpreter.Invariants"

(** Logger for AssociatedTypes *)
let associated_types_log = L.get_logger "MainLogger.AssociatedTypes"

(** Logger for SCC *)
let scc_log = L.get_logger "MainLogger.Graph.SCC"

(** Logger for ReorderDecls *)
let reorder_decls_log = L.get_logger "MainLogger.Graph.ReorderDecls"