raven-haskell-0.1.1.0: Haskell client for Sentry logging service.

Safe HaskellNone
LanguageHaskell98

System.Log.Raven.Types

Description

Internal representation of event record and related facilities. Keep this under a pillow when writing custom wrappers.

Synopsis

Documentation

fromDSN :: String -> SentrySettings Source #

Transforms a service DSN into a settings. Format is:

{PROTOCOL}://{PUBLIC_KEY}:{SECRET_KEY}@{HOST}{PATH}/{PROJECT_ID}

endpointURL :: SentrySettings -> Maybe String Source #

Assemble http endpoint URL from settings.

data SentryService Source #

Misc settings packaged for easier operations.

newRecord :: String -> String -> String -> SentryLevel -> String -> SentryRecord Source #

Initialize a record with all required fields filled in.