···
2
+
synopsis: "Logging infrastructure for OCaml"
4
+
Logs provides a logging infrastructure for OCaml. Logging is performed
5
+
on sources whose reporting level can be set independently. Log message
6
+
report is decoupled from logging and is handled by a reporter.
8
+
A few optional log reporters are distributed with the base library and
9
+
the API easily allows to implement your own.
11
+
`Logs` has no dependencies. The optional `Logs_fmt` reporter on OCaml
12
+
formatters depends on [Fmt][fmt]. The optional `Logs_browser`
13
+
reporter that reports to the web browser console depends on
14
+
[js_of_ocaml][jsoo]. The optional `Logs_cli` library that provides
15
+
command line support for controlling Logs depends on
16
+
[`Cmdliner`][cmdliner]. The optional `Logs_lwt` library that provides
17
+
Lwt logging functions depends on [`Lwt`][lwt]
19
+
Logs and its reporters are distributed under the ISC license.
21
+
[fmt]: http://erratique.ch/software/fmt
22
+
[jsoo]: http://ocsigen.org/js_of_ocaml/
23
+
[cmdliner]: http://erratique.ch/software/cmdliner
24
+
[lwt]: http://ocsigen.org/lwt/
26
+
Home page: http://erratique.ch/software/logs"""
27
+
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
28
+
authors: "The logs programmers"
30
+
tags: ["log" "system" "org:erratique"]
31
+
homepage: "https://erratique.ch/software/logs"
32
+
doc: "https://erratique.ch/software/logs/doc"
33
+
bug-reports: "https://github.com/dbuenzli/logs/issues"
35
+
"ocaml" {>= "4.08.0"}
37
+
"ocamlbuild" {build}
38
+
"topkg" {build & >= "1.0.3"}
41
+
depopts: ["cmdliner" "js_of_ocaml-compiler" "fmt" "lwt" "base-threads"]
43
+
"cmdliner" {< "1.3.0"}
44
+
"js_of_ocaml-compiler" {< "5.5.0"}
53
+
"--with-js_of_ocaml-compiler"
54
+
"%{js_of_ocaml-compiler:installed}%"
58
+
"%{cmdliner:installed}%"
61
+
"--with-base-threads"
62
+
"%{base-threads:installed}%"
64
+
dev-repo: "git+https://erratique.ch/repos/logs.git"
66
+
src: "https://erratique.ch/software/logs/releases/logs-0.8.0.tbz"
68
+
"sha512=c34c67b00d6a989a2660204ea70db8521736d6105f15d1ee0ec6287a662798fe5c4d47075c6e7c84f5d5372adb5af5c4c404f79db70d69140af5e0ebbea3b6a5"
70
+
x-maintenance-intent: ["(latest)"]