{"id":16879454,"url":"https://github.com/purefunctor/purescript-pino","last_synced_at":"2025-03-19T21:42:31.612Z","repository":{"id":52596732,"uuid":"357842628","full_name":"purefunctor/purescript-pino","owner":"purefunctor","description":"PureScript bindings for pino.","archived":false,"fork":false,"pushed_at":"2021-04-24T03:38:12.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T04:44:45.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PureScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/purefunctor.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-04-14T09:08:42.000Z","updated_at":"2021-04-24T03:38:14.000Z","dependencies_parsed_at":"2022-08-27T01:41:00.335Z","dependency_job_id":null,"html_url":"https://github.com/purefunctor/purescript-pino","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purefunctor%2Fpurescript-pino","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purefunctor%2Fpurescript-pino/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purefunctor%2Fpurescript-pino/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purefunctor%2Fpurescript-pino/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purefunctor","download_url":"https://codeload.github.com/purefunctor/purescript-pino/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244513104,"owners_count":20464592,"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":"2024-10-13T15:54:27.433Z","updated_at":"2025-03-19T21:42:31.555Z","avatar_url":"https://github.com/purefunctor.png","language":"PureScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# purescript-pino\nPureScript bindings for [pino](https://github.com/pinojs/pino).\n\n## Requirements\nThis package requires `pino` to be added as a dependency for your project.\n\n## Overview\nThis package provides a low-level foreign API for using [pino](https://github.com/pinojs/pino)\nloggers in PureScript. It provides a set of logging functions that emulate rest parameters through\ntype class magic. Take for example:\n```purescript\nmodule Test.Main where\n\nimport Prelude\n\nimport Effect (Effect)\nimport Foreign.Object as FO\nimport Node.Pino.Logger (defaultLogger, info, runLogger)\nimport Node.Pino.Logger.Do as Pino\n\n\nmain :: Effect Unit\nmain = do\n  logger \u003c- defaultLogger\n  runLogger logger Pino.do\n    info \"This is doing some info debugging\"\n    info \"Templates work too! %s\" \"Like this!\"\n\n    info \"Passing `mergingObject` works as such:\"\n    info (FO.empty # FO.insert \"merging\" \"object\")\n```\nNote: The `Node.Logger` module provides essential re-exports for `Data.Options` and extra ones for\nworking with `Foreign` and `Foreign.Object`. However, I still highly recommend using qualified\nimports for the latter, similar to the code snippet above for brevity. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurefunctor%2Fpurescript-pino","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurefunctor%2Fpurescript-pino","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurefunctor%2Fpurescript-pino/lists"}