Module Async_smtp__Mail_log.Message
Wrapper arround Log.Message.t that allows access to various standardised tag names.
module Action : Core.Identifiable with type t = stringtype 'a with_info= flows:Flows.t -> component:Component.t -> here:Core.Source_code_position.t -> ?local_ip_address:Async.Socket.Address.Inet.t -> ?remote_address:Core.Host_and_port.t -> ?remote_ip_address:Async.Socket.Address.Inet.t -> ?email:[ `Fingerprint of Mail_fingerprint.t | `Email of Async_smtp_types.Email.t | `Envelope of Async_smtp_types.Smtp_envelope.t ] -> ?message_size:int -> ?rfc822_id:string -> ?local_id:Async_smtp_types.Smtp_envelope.Id.t -> ?sender:[ `Sender of Async_smtp_types.Smtp_envelope.Sender.t | `String of string ] -> ?recipients:[ `Email of Async_smtp_types.Email_address.t | `String of string ] list -> ?spool_id:string -> ?command:Async_smtp.Smtp_command.t -> ?reply:Async_smtp.Smtp_reply.t -> ?session_marker:Session_marker.t -> ?tags:(string * string) list -> 'atype t= Async.Log.Message.t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val create : (Action.t -> t) with_infoval debugf : (('a, unit, string, t) Core.format4 -> 'a) with_infoval of_error : (Core.Error.t -> t) with_infoval info : (unit -> t) with_infoval level : t -> Level.tval time : t -> Core.Time.tval flows : t -> Flows.tEncoded as one tag 'flow' for each Flow id
val component : t -> Component.tThe originating component, encoded as tag 'component'. Use of
with_flow_and_componentwill cause this tag to be rewritten.
val find_tag' : t -> tag:string -> f:(string -> 'a) -> 'a optionval find_tag : t -> tag:string -> string optionval tags : t -> (string * string) listval rfc822_id : t -> string optionval local_id : t -> Async_smtp_types.Smtp_envelope.Id.t optionval spool_id : t -> string optionval sender : t -> [ `Sender of Async_smtp_types.Smtp_envelope.Sender.t | `String of string ] optionval recipients : t -> [ `Email of Async_smtp_types.Email_address.t | `String of string ] list optionval email : t -> Mail_fingerprint.t optionval local_ip_address : t -> Async.Socket.Address.Inet.t optionval remote_address : t -> Core.Host_and_port.t optionval remote_ip_address : t -> Async.Socket.Address.Inet.t optionval command : t -> Async_smtp.Smtp_command.t optionval reply : t -> Async_smtp.Smtp_reply.t optionval session_marker : t -> Session_marker.t option