You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
2.0 KiB
61 lines
2.0 KiB
![]()
6 years ago
|
opam-version: "2.0"
|
||
|
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
|
||
![]()
6 years ago
|
authors: ["The logs programmers"]
|
||
|
homepage: "https://erratique.ch/software/logs"
|
||
|
doc: "https://erratique.ch/software/logs/doc"
|
||
|
dev-repo: "git+https://erratique.ch/repos/logs.git"
|
||
![]()
6 years ago
|
bug-reports: "https://github.com/dbuenzli/logs/issues"
|
||
|
tags: [ "log" "system" "org:erratique" ]
|
||
|
license: "ISC"
|
||
|
depends: [
|
||
![]()
6 years ago
|
"ocaml" {>= "4.03.0"}
|
||
![]()
6 years ago
|
"ocamlfind" {build}
|
||
|
"ocamlbuild" {build}
|
||
|
"topkg" {build}
|
||
![]()
6 years ago
|
"mtime" {with-test} ]
|
||
![]()
6 years ago
|
depopts: [
|
||
|
"js_of_ocaml"
|
||
|
"fmt"
|
||
|
"cmdliner"
|
||
|
"lwt" ]
|
||
![]()
6 years ago
|
conflicts: [
|
||
|
"js_of_ocaml" { < "3.3.0" } ]
|
||
|
|
||
![]()
6 years ago
|
build: [[
|
||
|
"ocaml" "pkg/pkg.ml" "build"
|
||
|
"--pinned" "%{pinned}%"
|
||
|
"--with-js_of_ocaml" "%{js_of_ocaml:installed}%"
|
||
|
"--with-fmt" "%{fmt:installed}%"
|
||
|
"--with-cmdliner" "%{cmdliner:installed}%"
|
||
|
"--with-lwt" "%{lwt:installed}%" ]]
|
||
![]()
6 years ago
|
|
||
|
synopsis: """Logging infrastructure for OCaml"""
|
||
|
description: """\
|
||
|
|
||
![]()
6 years ago
|
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.
|
||
|
|
||
![]()
6 years ago
|
`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]
|
||
![]()
6 years ago
|
|
||
|
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
|
||
![]()
6 years ago
|
[lwt]: http://ocsigen.org/lwt/
|
||
|
"""
|
||
![]()
6 years ago
|
url {
|
||
![]()
6 years ago
|
archive: "https://erratique.ch/software/logs/releases/logs-0.6.3.tbz"
|
||
|
checksum: "370e4c802588f73d0777c59bc414b57b"
|
||
![]()
6 years ago
|
}
|