This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,54 @@
version: "0.9.0+dune2"
opam-version: "2.0"
name: "logs"
synopsis: "Logging infrastructure for OCaml"
description: """\
Logs provides a logging infrastructure for OCaml. Logging is performed
on sources whose reporting level can be set independently. Log message
report is decoupled from logging and is handled by a reporter.
A few optional log reporters are distributed with the base library and
the API easily allows to implement your own.
`Logs` has no dependencies. The optional `Logs_fmt` reporter on OCaml
formatters depends on [Fmt][fmt]. The optional `Logs_browser`
reporter that reports to the web browser console depends on
[js_of_ocaml][jsoo]. The optional `Logs_cli` library that provides
command line support for controlling Logs depends on
[`Cmdliner`][cmdliner]. The optional `Logs_lwt` library that provides
Lwt logging functions depends on [`Lwt`][lwt]
Logs and its reporters are distributed under the ISC license.
[fmt]: http://erratique.ch/software/fmt
[jsoo]: http://ocsigen.org/js_of_ocaml/
[cmdliner]: http://erratique.ch/software/cmdliner
[lwt]: http://ocsigen.org/lwt/
Home page: <http://erratique.ch/software/logs>"""
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
authors: "The logs programmers"
license: "ISC"
tags: ["log" "system" "org:erratique"]
homepage: "https://erratique.ch/software/logs"
doc: "https://erratique.ch/software/logs/doc"
bug-reports: "https://github.com/dbuenzli/logs/issues"
depends: [
"ocaml" {>= "4.14.0"}
"lwt"
"fmt" {>= "0.9.0"}
"cmdliner" {>= "1.3.0"}
"dune"
"mtime" {with-test}
]
depopts: [
"js_of_ocaml"
]
conflicts: [
"js_of_ocaml-compiler" {< "5.5.0"}
]
build: [[ "dune" "build" "-p" name ]]
dev-repo: "git+https://github.com/dune-universe/logs.git"
url {
src: "git://github.com/dune-universe/logs.git#duniverse-v0.9.0"
}