graylog-0.1.0.1: Support for graylog output.

Safe HaskellNone
LanguageHaskell2010

Graylog.Gelf

Description

Default formatting for Graylog messages, see http://docs.graylog.org/en/latest/pages/gelf.html

Documentation

data GELF Source #

Instances

Show GELF Source # 

Methods

showsPrec :: Int -> GELF -> ShowS #

show :: GELF -> String #

showList :: [GELF] -> ShowS #

Generic GELF Source # 

Associated Types

type Rep GELF :: * -> * #

Methods

from :: GELF -> Rep GELF x #

to :: Rep GELF x -> GELF #

ToJSON GELF Source # 
type Rep GELF Source # 

data Version Source #

Constructors

Version1x1 

Instances

Eq Version Source # 

Methods

(==) :: Version -> Version -> Bool #

(/=) :: Version -> Version -> Bool #

Show Version Source # 
Generic Version Source # 

Associated Types

type Rep Version :: * -> * #

Methods

from :: Version -> Rep Version x #

to :: Rep Version x -> Version #

ToJSON Version Source # 
type Rep Version Source # 
type Rep Version = D1 (MetaData "Version" "Graylog.Gelf" "graylog-0.1.0.1-DMlepwZcsxdIrvn7CsFrdd" False) (C1 (MetaCons "Version1x1" PrefixI False) U1)

data SyslogLevel Source #

Instances

Eq SyslogLevel Source # 
Ord SyslogLevel Source # 
Show SyslogLevel Source # 
Generic SyslogLevel Source # 

Associated Types

type Rep SyslogLevel :: * -> * #

ToJSON SyslogLevel Source # 
type Rep SyslogLevel Source # 
type Rep SyslogLevel = D1 (MetaData "SyslogLevel" "Graylog.Gelf" "graylog-0.1.0.1-DMlepwZcsxdIrvn7CsFrdd" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Emergency" PrefixI False) U1) (C1 (MetaCons "Alert" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Critical" PrefixI False) U1) (C1 (MetaCons "Error" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Warning" PrefixI False) U1) (C1 (MetaCons "Notice" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Informational" PrefixI False) U1) (C1 (MetaCons "Debug" PrefixI False) U1))))

simpleGelf Source #

Arguments

:: Text

Hostname

-> Text

Short message

-> GELF