| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Snap.Internal.Debug
Description
An internal Snap module for (optionally) printing debugging messages. To
enable debug output, compile the library with the debug flag (off by
default) and set the environment variable DEBUG to 1. We use
unsafePerformIO to make sure that the call to getEnv is only made once.
N.B. this is an internal interface, please don't write external code that depends on it.