raven-haskell- Haskell client for Sentry logging service.

Safe HaskellNone



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



fromDSN :: String -> SentrySettingsSource

Transforms a service DSN into a settings. Format is:


endpointURL :: SentrySettings -> Maybe StringSource

Assemble http endpoint URL from settings.

data SentryService Source

Misc settings packaged for easier operations.

data SentryLevel Source

Sentry log levels. Custom levels should be configured in Sentry or sending messages will fail.

newRecord :: String -> String -> String -> SentryLevel -> String -> SentryRecordSource

Initialize a record with all required fields filled in.