Bap_main_event.Log
Logging Events
type info = {
level : level;
the event importance
*)section : string;
the event section, e.g., plugin name
*)message : string;
the actual message
*)}
each logging message carries this inforamtion
type event +=
the progress bar message
progress message
sends the progress report message.
See the report_progress
function for the detailed description.
val message :
level ->
section:string ->
('a, Stdlib.Format.formatter, unit) Stdlib.format ->
'a
message level ~section "my message: %s" "hello"
constructs and sends the logging message.
module Create () : sig ... end
generates reporters specialized to the current plugin.