Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
https://docs.sentry.io/clientdev/attributes/
type t = private {
event_id : Uuidm.t;
timestamp : Core_kernel.Time.t;
logger : string option;
platform : Platform.t;
sdk : Sdk.t;
level : Severity_level.t option;
culprit : string option;
server_name : string option;
release : string option;
environment : string option;
modules : string Core_kernel.String.Map.t;
extra : Yojson.Basic.json Core_kernel.String.Map.t;
fingerprint : string list option;
exception_ : Exception.t list option;
message : Sentry__.Message.t option;
}
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val make :
?event_id:Uuidm.t ->
?timestamp:Core_kernel.Time.t ->
?context:Context.t ->
?tags:(string * string) list ->
?logger:string ->
?platform:Platform.t ->
?sdk:Sdk.t ->
?level:Severity_level.t ->
?culprit:string ->
?fingerprint:string list ->
?message:Sentry__.Message.t ->
?exn:Exception.t list ->
unit ->
t
val to_payload : t -> Sentry__.Payloads_t.event
val to_json_string : t -> string
Converts t
to the Sentry JSON representation, suitable to be uploaded.