Ppx_log_syntax
ppx_log
translates to code that references a module Ppx_log_syntax : Ppx_log_types.S
expected to be in scope. Normally, this is provided by an actual log implementation, like Async_log
. If the module isn't in scope, this library provides a stub implementation with an alert to direct users to the right place.
val would_log : t -> Ppx_log_types.Level.t Base.option -> Base.bool
val default : return_type
val message :
?level:Ppx_log_types.Level.t ->
?time:time ->
?tags:(Base.string * Base.string) Base.list ->
t ->
Ppx_log_types.Message_data.t ->
Ppx_log_types.Message_source.t ->
return_type
module Global : sig ... end