{"id":18583528,"url":"https://github.com/maxdome/mxd-logging","last_synced_at":"2025-05-16T05:09:46.170Z","repository":{"id":57143483,"uuid":"61203191","full_name":"maxdome/mxd-logging","owner":"maxdome","description":"Returns configured winston logger instances","archived":false,"fork":false,"pushed_at":"2016-10-05T11:23:53.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T16:45:13.645Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxdome.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-15T11:34:19.000Z","updated_at":"2016-10-05T11:53:07.000Z","dependencies_parsed_at":"2022-09-03T18:40:45.056Z","dependency_job_id":null,"html_url":"https://github.com/maxdome/mxd-logging","commit_stats":null,"previous_names":["maxdome/logging"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdome%2Fmxd-logging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdome%2Fmxd-logging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdome%2Fmxd-logging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdome%2Fmxd-logging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxdome","download_url":"https://codeload.github.com/maxdome/mxd-logging/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471049,"owners_count":22076587,"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-11-07T00:23:26.325Z","updated_at":"2025-05-16T05:09:46.142Z","avatar_url":"https://github.com/maxdome.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example\n\n```\nconst logging = require('mxd-logging')(config);\nconst appLogger = logging('app');\n```\n\n# Config\n\n## Environment Variables\n\nIf environment variables are set, the config object will be ignored!\n\n* MXD_LOGGING_FILENAME: The path for the logfile\n* MXD_LOGGING_LEVEL: The loglevel (optional, default: 'info')\n\n## 'config' Object\n\nFor available types and their options, see: https://github.com/winstonjs/winston/blob/master/docs/transports.md\n \n```\n{\n  \"logging\": {\n    \"transports\": [\n      { \n        \"type\": \"\",\n        \"options\": {}\n      }\n    ]\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdome%2Fmxd-logging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxdome%2Fmxd-logging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdome%2Fmxd-logging/lists"}