summaryrefslogtreecommitdiff
path: root/2025/ocaml/lib/application
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2025-11-29 20:08:11 +0100
committerDJ O'Leary <dijitol@proton.me>2025-11-29 20:09:11 +0100
commit87277098e997661f432be56c27f4b54d51aa9306 (patch)
tree83846830e5102120ef298e8ad9a552b30203fdc6 /2025/ocaml/lib/application
parent0bf49c4ec799445350c60a96a754e44ac15a2268 (diff)
chore: use updated template
Diffstat (limited to '2025/ocaml/lib/application')
-rw-r--r--2025/ocaml/lib/application/dune14
-rw-r--r--2025/ocaml/lib/application/logger_sig.mli11
2 files changed, 25 insertions, 0 deletions
diff --git a/2025/ocaml/lib/application/dune b/2025/ocaml/lib/application/dune
new file mode 100644
index 0000000..f73f950
--- /dev/null
+++ b/2025/ocaml/lib/application/dune
@@ -0,0 +1,14 @@
+(library
+ (name application)
+ (libraries
+ domain
+ fmt
+ logs)
+ (inline_tests)
+ (preprocess
+ (pps
+ ppx_deriving.show
+ ppx_deriving.eq
+ ppx_deriving.ord
+ ppx_expect))
+ (modules_without_implementation logger_sig))
diff --git a/2025/ocaml/lib/application/logger_sig.mli b/2025/ocaml/lib/application/logger_sig.mli
new file mode 100644
index 0000000..ac84747
--- /dev/null
+++ b/2025/ocaml/lib/application/logger_sig.mli
@@ -0,0 +1,11 @@
+module type Logger = sig
+ val app : string -> unit
+
+ val err : string -> unit
+
+ val warn : string -> unit
+
+ val info : string -> unit
+
+ val debug : string -> unit
+end