Module InferModules__LogEntry
Log entry data model, global log entry store and functions to manipulate it. Direct access to the store is not exposed.
type count_entry_data
=
{
value : int;
}
type time_entry_data
=
{
duration_ms : int;
}
type entry_data
=
|
Count of count_entry_data
|
Time of time_entry_data
type t
=
{
label : string;
created_at_ts : int;
data : entry_data;
}
created_at_ts is a unix timestamp (in seconds)