Safe Haskell | None |
---|---|
Language | Haskell2010 |
Common program initalization for Vaultaire binaries
Documentation
initializeProgram :: String -> Verbosity -> IO (MVar ()) Source
Initialize a program. Call this from your main
program entry point
before doing anything else. Indicate the logging verbosity you want, along
with an identification of your program. Returns an MVar which will be set to
unit if one of the installed signal handlers catches a signal and requests a
shutdown as a result.