ghcup-hs/lib/GHCup/Utils/Logger.hs-boot

20 lines
449 B
Plaintext
Raw Permalink Normal View History

2021-09-23 10:53:01 +00:00
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE DataKinds #-}
module GHCup.Utils.Logger where
import GHCup.Types
import Control.Monad.IO.Class
import Control.Monad.Reader
import Data.Text ( Text )
import Optics
logWarn :: ( MonadReader env m
, LabelOptic' "loggerConfig" A_Lens env LoggerConfig
, MonadIO m
)
=> Text
-> m ()