diff options
author | Paul Oliver <contact@pauloliver.dev> | 2025-09-12 01:43:15 +0000 |
---|---|---|
committer | Paul Oliver <contact@pauloliver.dev> | 2025-09-12 01:43:15 +0000 |
commit | e36a24df176cdbbd634738115f847e4fa46a0aea (patch) | |
tree | 0e76c7651a0b3ec4d190bdf4afd4614630717733 /hsm-web/Main.hs | |
parent | ac5a85abac1a47645713d3b7539fccb1b744dd85 (diff) |
Adds `Logs` constraint combinator
Diffstat (limited to 'hsm-web/Main.hs')
-rw-r--r-- | hsm-web/Main.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hsm-web/Main.hs b/hsm-web/Main.hs index 6cbfa31..82e07c9 100644 --- a/hsm-web/Main.hs +++ b/hsm-web/Main.hs @@ -11,9 +11,9 @@ import Hsm.Web (runServer, runWeb) -- Avoids package/module qualifiers in generated code import Options.Applicative -type Loggers = '["cam", "libcamera", "scotty", "web"] +type Logs = '["cam", "libcamera", "scotty", "web"] -$(makeLoggerOptionParser @Loggers "Options" "parser" 'Info) +$(makeLoggerOptionParser @Logs "Options" "parser" 'Info) main :: IO () -main = bootstrapAppNoEcho parser "Launch HsMouse Web Server" $ \opts -> runServer & runWeb & runCam & runLogsOpt @Options @Loggers opts & runEff +main = bootstrapAppNoEcho parser "Launch HsMouse Web Server" $ \opts -> runServer & runWeb & runCam & runLogsOpt @Options @Logs opts & runEff |