Up

Module Warning

Signature

type t =
| Did_not_reach_eof_for of Core.Std.Time.Span.t
(* Did_not_reach_eof_for span occurs if it has been longer than eof_latency_tolerance since stat detected that there is new data in the file and the file tail processed all the new data. The span is how long it has been since stat detected new data in the file. *)
| Reached_eof
(* Reached_eof occurs whenever the file tail reaches the end of file, irrespective of whether there has previously been a Did_not_reach_eof_for warning. *)
| Delayed_due_to_null_reads_for of Core.Std.Time.Span.t
(* Delayed_due_to_null_reads_for span occurs when the file tail is unable to get data from the file, because the data being read has null ('\000') characters. The span is how long it has been attempting to read and been getting nulls. This warning will only occur if retry_null_reads = true. This warning will be repeated until the null reads stop. *)
| No_longer_delayed_due_to_null_reads
(* No_longer_delayed_due_to_null_reads occurs after a nonempty sequence of Delayed_due_to_null_reads_for warnings, once the file tail gets a read that does not contain null reads. *)
val sexp_of_t : t -> Sexplib.Sexp.t
val to_string_hum : t -> string