You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
568 B
25 lines
568 B
10 years ago
|
(*
|
||
|
* Copyright (c) 2015 - Facebook.
|
||
|
* All rights reserved.
|
||
|
*)
|
||
|
|
||
|
(** Type of functions to report issues to the error_log in a spec. *)
|
||
|
type log_issue =
|
||
|
Procname.t ->
|
||
|
?loc: Sil.location option ->
|
||
|
?node_id: (int * int) option ->
|
||
|
?session: int option ->
|
||
|
?ltr: Errlog.loc_trace option ->
|
||
|
?pre: Prop.normal Prop.t option ->
|
||
|
exn ->
|
||
|
unit
|
||
|
|
||
|
(** Report an error in the given procedure. *)
|
||
|
val log_error : log_issue
|
||
|
|
||
|
(** Report a warning in the given procedure. *)
|
||
|
val log_warning : log_issue
|
||
|
|
||
|
(** Report an info in the given procedure. *)
|
||
|
val log_info : log_issue
|