summaryrefslogtreecommitdiff
path: root/compiler/Logging.ml
diff options
context:
space:
mode:
authorSon Ho2024-03-29 15:42:56 +0100
committerSon Ho2024-03-29 15:42:56 +0100
commit9403920e1e46157089f78bc42c553eec38181fa9 (patch)
tree59c8d653ef534528118bec858fc1fae5f2e7505d /compiler/Logging.ml
parentea086d3391f6086573750f989256119e5d2e7d5c (diff)
Improve the error messages
Diffstat (limited to 'compiler/Logging.ml')
-rw-r--r--compiler/Logging.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/Logging.ml b/compiler/Logging.ml
index 9c20f32f..9b8019b2 100644
--- a/compiler/Logging.ml
+++ b/compiler/Logging.ml
@@ -3,6 +3,9 @@ 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 Errors *)
+let errors_log = L.get_logger "MainLogger.Errors"
+
(** Logger for PrePasses *)
let pre_passes_log = L.get_logger "MainLogger.PrePasses"