package logs
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Logging infrastructure for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
logs-0.9.0.tbz
sha512=b75fb28e83f33461b06b5c9b60972c4a9a9a1599d637b4a0c7b1e86a87f34fe5361e817cb31f42ad7e7cbb822473b28fab9f58a02870eb189ebe88dae8e045ff
doc/logs/Logs/Src/index.html
Module Logs.Src
Sources.
Sources
type t = srcThe type for log sources.
val create : ?doc:string -> string -> srccreate ?doc name is a new log source. name is the name of the source; it doesn't need to be unique but it is good practice to prefix the name with the name of your package or library (e.g. "mypkg.network"). doc is a documentation string describing the source, defaults to "undocumented". The initial reporting level of the source is defined by Logs.level.
val name : src -> stringname is src's name.
val doc : src -> stringdoc src is src's documentation string.
set_level src l sets the report level of src to l. Only applications should use this function directly, see usage conventions.
val pp : Format.formatter -> src -> unitpp ppf src prints an unspecified representation of src on ppf.
val list : unit -> src listlist () is the current exisiting source list.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page