forked from facebook/pyre-check
-
Notifications
You must be signed in to change notification settings - Fork 0
/
statistics.mli
51 lines (42 loc) · 995 Bytes
/
statistics.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
(** Copyright (c) 2016-present, Facebook, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree. *)
val disable: unit -> unit
val sample
: ?integers: (string * int) list
-> ?normals: (string * string) list
-> ?metadata: bool
-> unit
-> string
val flush: unit -> unit
val performance
: ?flush: bool
-> ?randomly_log_every: int
-> ?always_log_time_threshold: float
-> ?section: Log.section
-> ?category: string
-> name: string
-> timer: Timer.t
-> ?integers: (string * int) list
-> ?normals: (string * string) list
-> unit
-> unit
val coverage
: ?flush: bool
-> path: string
-> coverage: (string * int) list
-> unit
-> unit
val event
: ?flush: bool
-> ?section: Log.section
-> name: string
-> ?integers: (string * int) list
-> ?normals: (string * string) list
-> unit
-> unit
val log_exception
: exn
-> fatal: bool
-> origin: string
-> unit