vaultaire-common-2.9.1: Common types and instances for Vaultaire

Safe HaskellNone
LanguageHaskell2010

Vaultaire.Program

Description

Common program initalization for Vaultaire binaries

Synopsis

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.

data Verbosity Source

Constructors

Debug 
Normal 
Quiet 

Instances