Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/Graylog/Gelf.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
-- see http://docs.graylog.org/en/latest/pages/gelf.html
module Graylog.Gelf where

import Data.Aeson (ToJSON (..), Value (..), object, toJSON,
(.=))
import Data.HashMap.Strict (HashMap)
import Data.Scientific (Scientific)
import Data.Text (Text)
import Data.Aeson (ToJSON (..), Value (..), object, toJSON,
(.=))
import Data.Aeson.KeyMap (KeyMap)
import Data.Scientific (Scientific)
import Data.Text (Text)
import Data.Time
import Data.Typeable
import GHC.Exts (toList)
import GHC.Exts (toList)
import GHC.Generics

data GELF
Expand All @@ -27,7 +27,7 @@ data GELF
, _gelfLevel :: Maybe SyslogLevel
, _gelfLine :: Maybe Word
, _gelfFile :: Maybe Text
, _gelfMeta :: HashMap Text MetaValue
, _gelfMeta :: KeyMap MetaValue
}
deriving (Show, Typeable, Generic)

Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# For more information, see: http://docs.haskellstack.org/en/stable/yaml_configuration/

# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
resolver: lts-18.18
resolver: lts-19.6

# Local packages, usually specified by relative directory name
packages:
Expand Down