nvim-hs-0.0.6: Haskell plugin backend for neovim

PortabilityGHC
Stabilityexperimental
Maintainerwoozletoff@gmail.com
Safe HaskellNone

Neovim.Log

Description

 

Synopsis

Documentation

disableLogger :: IO a -> IO aSource

Disable logging to stderr.

withLogger :: FilePath -> Priority -> IO a -> IO aSource

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 $ do
     putStrLn Hello, World!