| Copyright | (c) Sebastian Witte |
|---|---|
| License | Apache-2.0 |
| Maintainer | woozletoff@gmail.com |
| Stability | experimental |
| Portability | GHC |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Neovim.Log
Description
Synopsis
- disableLogger :: IO a -> IO a
- withLogger :: FilePath -> Priority -> IO a -> IO a
- module System.Log.Logger
Documentation
disableLogger :: IO a -> IO a Source #
Disable logging to stderr.
withLogger :: FilePath -> Priority -> IO a -> IO a Source #
Initialize the root logger to avoid stderr and set it to log the given file instead. Simply wrap the main entry point with this function to initialze the logger.
main =withLogger"/home/dude/nvim.log"Debug$ doputStrLn"Hello, World!"
module System.Log.Logger