{"id":28501992,"url":"https://github.com/fluent/fluent-logger-ocaml","last_synced_at":"2025-07-05T02:31:41.791Z","repository":{"id":12725049,"uuid":"15397826","full_name":"fluent/fluent-logger-ocaml","owner":"fluent","description":"A structured logger for Fluentd (OCaml)","archived":false,"fork":false,"pushed_at":"2014-08-30T13:28:39.000Z","size":176,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-06-08T16:08:36.966Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-23T15:01:59.000Z","updated_at":"2025-01-04T20:09:40.000Z","dependencies_parsed_at":"2022-09-23T09:25:02.090Z","dependency_job_id":null,"html_url":"https://github.com/fluent/fluent-logger-ocaml","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/fluent/fluent-logger-ocaml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluent-logger-ocaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluent-logger-ocaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluent-logger-ocaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluent-logger-ocaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluent","download_url":"https://codeload.github.com/fluent/fluent-logger-ocaml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluent-logger-ocaml/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263671744,"owners_count":23494026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-08T16:08:41.916Z","updated_at":"2025-07-05T02:31:41.779Z","avatar_url":"https://github.com/fluent.png","language":"OCaml","readme":"fluent-logger-ocaml\n===================\n\nA structured logger for Fluentd (OCaml)\n\n\nFeatures\n------------\n\n* Inet/Unix domain sockets are available\n* Buffering data on memory if failed to send\n* Persistent connection\n* Exponential backoff for reconnection\n\n\nBuild\n------------\n\n    $ make clean\n    $ make\n    $ make install\n\nBuild\n------------\n\n    $ make test\n\nUsage\n------------\n\nexample.ml:\n\n    let () =\n      let module L = Fluent_logger in\n      let logger = (* Fluent_logger.t *)\n        (* INET domain socket *)\n        L.create ()\n        (* UNIX domain socket *)\n        (* L.create_for_unix path *) \n      in\n      L.post logger \"production\" (\n        `FixMap [\n          (L.of_string \"id\",   L.uint8_of_int i);\n          (L.of_string \"name\", L.of_string \"foobar\");\n          (L.of_string \"age\",  L.uint8_of_int 81);\n          (L.of_string \"pi\",   L.of_float 3.14)\n        ]\n      );\n      L.release logger\n\ncompile:\n\n    ocamlfind c -o example -package fluent-logger -linkpkg example.ml\n\n","funding_links":[],"categories":["Networking"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent%2Ffluent-logger-ocaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluent%2Ffluent-logger-ocaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent%2Ffluent-logger-ocaml/lists"}