nvim-hs-2.1.0.0: Haskell plugin backend for neovim

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

Neovim.Log

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