ribosome-0.4.0.0: api extensions for nvim-hs
Safe HaskellNone
LanguageHaskell2010

Ribosome.Log

Documentation

class Loggable a where Source #

Methods

logLines :: a -> [String] Source #

Instances

Instances details
Loggable ByteString Source # 
Instance details

Defined in Ribosome.Log

Loggable String Source # 
Instance details

Defined in Ribosome.Log

Methods

logLines :: String -> [String] Source #

Loggable Text Source # 
Instance details

Defined in Ribosome.Log

Methods

logLines :: Text -> [String] Source #

Loggable a => Loggable [a] Source # 
Instance details

Defined in Ribosome.Log

Methods

logLines :: [a] -> [String] Source #

logAs :: Loggable a => MonadIO m => Priority -> Text -> a -> m () Source #

debugAs :: Loggable a => MonadIO m => Text -> a -> m () Source #

infoAs :: Loggable a => MonadIO m => Text -> a -> m () Source #

errAs :: Loggable a => MonadIO m => Text -> a -> m () Source #

prefixed :: (MonadIO m, Show a) => Text -> a -> m () Source #

logR :: Loggable a => MonadRibo m => Priority -> a -> m () Source #

debug :: Loggable a => MonadRibo m => a -> m () Source #

logDebug :: Loggable a => MonadRibo m => a -> m () Source #

showDebug :: Show a => MonadRibo m => Text -> a -> m () Source #

showDebugM :: Show a => MonadRibo m => Text -> m a -> m a Source #

info :: Loggable a => MonadRibo m => a -> m () Source #

logInfo :: Loggable a => MonadRibo m => a -> m () Source #

err :: Loggable a => MonadRibo m => a -> m () Source #

logError :: Loggable a => MonadRibo m => a -> m () Source #

showError :: Show a => MonadRibo m => Text -> a -> m () Source #