nvim-hs-0.0.2: Haskell plugin backend for neovim

Copyright(c) Sebastian Witte
LicenseApache-2.0
Maintainerwoozletoff@gmail.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Neovim.Debug

Description

 

Synopsis

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 "homedude/nvim.log" Debug $ do putStrLn "Hello, World!"