Haskell LanguageLogging


Introduction

Logging in Haskell is achieved usually through functions in the IO monad, and so is limited to non-pure functions or "IO actions".

There are several ways to log information in a Haskell program: from putStrLn (or print), to libraries such as hslogger or through Debug.Trace.