log4hs-0.6.0.0: A python logging style log library

Safe HaskellNone
LanguageHaskell2010

Logging.Global

Description

Run logging globally.

The run function will properly "initialize" and "terminate" the global Manager.

If the Manager's catchUncaughtException is True, the run function will set an uncaught exception handler that will log all uncaught exceptions, and set the handler to the original one before run is complete.

Documentation

run :: Manager -> IO a -> IO a Source #