{"id":34272958,"url":"https://github.com/techunits/elogger","last_synced_at":"2026-06-07T09:31:58.960Z","repository":{"id":25256828,"uuid":"28681941","full_name":"techunits/elogger","owner":"techunits","description":"Exclusive logging for nodejs, expressjs, sailsjs and many other nodejs based applications.","archived":false,"fork":false,"pushed_at":"2020-06-25T14:02:34.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-24T01:08:05.976Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techunits.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":"2015-01-01T06:42:18.000Z","updated_at":"2020-06-25T14:02:36.000Z","dependencies_parsed_at":"2022-08-26T13:31:22.263Z","dependency_job_id":null,"html_url":"https://github.com/techunits/elogger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techunits/elogger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techunits%2Felogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techunits%2Felogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techunits%2Felogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techunits%2Felogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techunits","download_url":"https://codeload.github.com/techunits/elogger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techunits%2Felogger/sbom","scorecard":{"id":872307,"data":{"date":"2025-08-11","repo":{"name":"github.com/techunits/elogger","commit":"741d6249839dfb8e4bad2ea1aa3a55f9f5720480"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-24T04:39:35.316Z","repository_id":25256828,"created_at":"2025-08-24T04:39:35.316Z","updated_at":"2025-08-24T04:39:35.316Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27770483,"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","status":"online","status_checked_at":"2025-12-16T02:00:10.477Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-16T20:03:32.336Z","updated_at":"2025-12-16T20:03:35.293Z","avatar_url":"https://github.com/techunits.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"elogger\n=======\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)\n\nExclusive logging for nodejs, expressjs, sailsjs, restify, meanjs and many other nodejs based applications.\n\n\n\u003ch4\u003eIntroduction\u003c/h4\u003e\nelogger is an exclusive logging middleware framework for different kind of nodejs application, which can be used either as an middleware or simple module. It reuses power \u0026 flexibility of morgan (https://www.npmjs.com/package/morgan) for HTTP logging. Find different examples below.\n\n### Installation:\nInstalling elogger is very simple and one step process. You just need to go inside you nodejs application and run following command.\n```\n$ npm install elogger\n```\n\n### Usage 01: As Middleware with ExpressJS\n```\nconst loggingtype = 'combined';\nconst express = require('express'),\n      elogger = require('elogger');\n\napp.use(elogger(loggingtype));\n```\n\n**Supported logging types:**\nAs elogger uses morgan as it's backbone so all logging type supported by \"morgan\" is supported here as well by default.\n- *null*\n- *combined*\n- *common*\n- *tiny*\n\nBesides those it supports custom formatted string of pre-defined tokens. e.g.\n- *:method :url :status :res[content-length] - :response-time ms*\n\n\n### Usage 02: For NodeJS command-line applications:\nelogger provides few abstract methods for different logging levels to make logging easier and color coded in the terminal as mentioned below:\n\n```\nconst logger = require('elogger');\n\nlogger.debug('My First Debug Test');\nlogger.info('My Second Info Test');\nlogger.warn('My Third Warn Test');\nlogger.error('My Fourth Error Test');\nlogger.trace('My Fifth Trace Test');\n```\n\n---\n\u003e For more detailed documentation you may refer to official [documentation](https://expressjs.com/en/resources/middleware/morgan.html) of morgan.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechunits%2Felogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechunits%2Felogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechunits%2Felogger/lists"}