diff --git a/src/Herp/Logger/Transport/Stdout.hs b/src/Herp/Logger/Transport/Stdout.hs index 847b7d6..cda1a11 100644 --- a/src/Herp/Logger/Transport/Stdout.hs +++ b/src/Herp/Logger/Transport/Stdout.hs @@ -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