\- logs.threaded

This commit is contained in:
swrup 2026-03-12 12:37:35 +01:00
parent 1e82b25087
commit 844af1dd53
3 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,8 @@
vendor_list := \ vendor_list := \
mkernel miou zarith bstr mnet mirage-crypto-rng-mkernel gmp digestif \ mkernel miou zarith bstr mnet mirage-crypto-rng-mkernel gmp digestif \
kdf utcp flux h1 httpcats mhttp multipart_form-miou prettym tls \ kdf utcp flux h1 httpcats mhttp multipart_form-miou prettym tls \
x509 vifu cachet mfat mirage-mtime caqti x509 vifu cachet mfat mirage-mtime caqti \
base32 cohttp
secmod_fat=secrets/secmod.fat secmod_fat=secrets/secmod.fat
tap_device=tap-mte tap_device=tap-mte
@ -12,7 +13,8 @@ check-kvm:
# todo: just opam install . --deps-only? # todo: just opam install . --deps-only?
installs: installs:
opam install --yes dune utop merlin ocp-browser ocamlformat opam install --yes dune utop merlin ocp-browser ocamlformat
opam install --yes mcrunch # opam install --yes mcrunch
opam install --yes crunch
opam install --yes sqlite3 # needed for caqti even if not used opam install --yes sqlite3 # needed for caqti even if not used
opam install --yes caqti-driver-pgx opam install --yes caqti-driver-pgx
opam install --yes $(vendor_list) opam install --yes $(vendor_list)

View file

@ -14,7 +14,7 @@
(libraries (libraries
b32 b32
; ;
caqti ; caqti
caqti-miou caqti-miou
caqti-miou.unix caqti-miou.unix
caqti-driver-pgx caqti-driver-pgx
@ -30,7 +30,6 @@
ptime ptime
logs logs
logs.fmt logs.fmt
logs.threaded
fmt.tty)) fmt.tty))
(library ; crockford base32 (library ; crockford base32

View file

@ -59,7 +59,6 @@ module Log_reporter = struct
Logs.set_level ~all:false level; Logs.set_level ~all:false level;
Fmt_tty.setup_std_outputs ~style_renderer:`Ansi_tty ~utf_8:true (); Fmt_tty.setup_std_outputs ~style_renderer:`Ansi_tty ~utf_8:true ();
Logs.Src.set_level Logs.default level; Logs.Src.set_level Logs.default level;
Logs_threaded.enable ();
Logs.set_reporter reporter; Logs.set_reporter reporter;
() ()
end end