Skip to content

Commit

Permalink
Herp.Logger.Transport.Stdout: remove redundant imports
Browse files Browse the repository at this point in the history
  • Loading branch information
fumieval committed Oct 5, 2022
1 parent 51092d3 commit eba7ed3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Herp/Logger/Transport/Stdout.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,9 @@ import Data.Text.Encoding qualified as T
import Herp.Logger.ANSI.Coloring (coloringLogInfoStr)

#if MIN_VERSION_aeson(2,0,0)
import "aeson" Data.Aeson.Key (fromText)
import "aeson" Data.Aeson.KeyMap as KM
#else
import Data.HashMap.Strict qualified as KM
import Data.Text (Text)
fromText :: Text -> Text
fromText = id
#endif

stdoutTransport' :: Text -> (LoggerSet -> TransportInput -> IO ()) -> LoggerSet -> LogLevel -> Transport
Expand Down

0 comments on commit eba7ed3

Please sign in to comment.