Rfc5424Sourcetype t = {header : header;structured_data : sd_element list;msg : [ `Utf8 of string | `Ascii of string ];}and header = {facility : Syslog_message.facility;severity : Syslog_message.severity;version : int;ts : Ptime.t;tz_offset_s : int option;hostname : string;app_name : string;procid : string;msgid : string;}val create :
?facility:Syslog_message.facility ->
?severity:Syslog_message.severity ->
?ts:Ptime.t ->
?tz_offset_s:int ->
?hostname:string ->
?app_name:string ->
?procid:string ->
?msgid:string ->
?structured_data:sd_element list ->
?msg:[ `Utf8 of string | `Ascii of string ] ->
unit ->
tval reporter :
?tz_offset_s:int ->
?defs:Tag.tydef list ->
hostname:string ->
app_name:string ->
procid:int ->
now:(unit -> Ptime.t) ->
?pp_header:(Logs.level * string option) Fmt.t ->
?app:Format.formatter ->
?dst:Format.formatter ->
unit ->
Logs.reporter