Initial import

This commit is contained in:
2026-06-08 17:20:12 +02:00
parent a3c561d2f2
commit 5e860a3d8b
16 changed files with 702 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
#lang racket/base
(require racket/file
simple-log)
(provide setup-logging!
dbg-alm
info-alm
warn-alm
err-alm
fatal-alm
sync-log-alm)
(sl-def-log audio-library-manager alm)
(define (setup-logging! log-file display-log?)
(make-directory* (let-values ([(base name dir?) (split-path log-file)]) base))
(if display-log?
(sl-log-to-file&display log-file)
(sl-log-to-file log-file))
(sl-set-log-level 'debug)
(info-alm "logging initialized: ~a" log-file))