sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Structured logger for Fluentd (OCaml)
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.1.0.tar.gz
md5=1c2bcb8a1620fd584615cbfa614b1204
sha512=958094649f6b98be9510b52629d8893184554ec9f8506f8515e1b6001cb06f1c728bc023a96083b6d41113bceb75e3c938c887b554d5e512205536e2284be8e7
Description
Structured logger for Fluentd (OCaml)
Added to opam-repository:
README
fluent-logger-ocaml
A structured logger for Fluentd (OCaml)
Features
- Inet/Unix domain sockets are available
- Buffering data on memory if failed to send
- Persistent connection
- Exponential backoff for reconnection
Requirement
- opam
- dune
Build
$ opam install --deps-only .
$ dune build lib/fluent_logger.aInstall
$ opam install .Test
$ dune runtestUsage
let () =
let module L = Fluent_logger in
let logger = (* Fluent_logger.t *)
(* INET domain socket *)
L.create ()
(* UNIX domain socket *)
(* L.create_for_unix path *)
in
L.post logger "production" (
`FixMap [
(L.of_string "id", L.uint8_of_int i);
(L.of_string "name", L.of_string "foobar");
(L.of_string "age", L.uint8_of_int 81);
(L.of_string "pi", L.of_float 3.14)
]
);
L.release loggerSee also example directory. You can build and execute it like this:
$ dune exec example/example.exe
Dev Dependencies (1)
-
ounit
with-test
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building fluent-logger with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 1.1.0 (this version) | good | n/a | n/a | n/a | n/a |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page