{"id":18851625,"url":"https://github.com/eviltik/evillogger","last_synced_at":"2026-02-03T22:30:19.124Z","repository":{"id":42361872,"uuid":"110896706","full_name":"eviltik/evillogger","owner":"eviltik","description":"nodejs winston based logger","archived":false,"fork":false,"pushed_at":"2023-01-07T10:40:48.000Z","size":226,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T16:53:03.735Z","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/eviltik.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":"2017-11-15T23:02:26.000Z","updated_at":"2024-06-14T04:31:08.000Z","dependencies_parsed_at":"2023-02-06T22:45:21.919Z","dependency_job_id":null,"html_url":"https://github.com/eviltik/evillogger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eviltik%2Fevillogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eviltik%2Fevillogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eviltik%2Fevillogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eviltik%2Fevillogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eviltik","download_url":"https://codeload.github.com/eviltik/evillogger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239788525,"owners_count":19697213,"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-08T03:35:42.242Z","updated_at":"2026-02-03T22:30:19.085Z","avatar_url":"https://github.com/eviltik.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# evillogger\n![Node.js CI](https://github.com/eviltik/evillogger/workflows/Node.js%20CI/badge.svg)\n[![npm version](https://badge.fury.io/js/evillogger.svg)](https://badge.fury.io/js/evillogger)\n[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php)\n[![Dependency Status](https://david-dm.org/eviltik/evillogger.svg)](https://david-dm.org/eviltik/evillogger)\n\nNodeJS logger for daemons. Evilcluster compatible.\n\n\nInstallation\n------------\n```\n$ npm install evillogger\n```\n\n\nUsage\n-----\n```js\nconst log = require('evillogger')('myProcessName');\n// or\n//const log = require('evillogger')();\n// or\n//const log = require('evillogger')(options)\n// spaces: number of spaces around namespace, default 30\n// repl: add \\r before any output, default false\n// colorize: color or not color, default true\n// file: output to file\n\n\nlog.info('info !',{foo:'bar'});\nlog.warn('warn !!');\nlog.error(new Error('huhu'));\n\n// will be shown only if DEBUG env var not empty\n// or if you pass --debug as argument\nlog.debug('debug ...');\n```\n\nOutput (stdout)\n---------------\n```console\n$ node example\\example1.js\n11:50:45.952  0 | myProcessName        | info:  info ! { foo: 'bar' }\n11:50:45.952  0 | myProcessName        | warn:  warn !!\n11:50:45.952  0 | myProcessName        | error: Error: huhu\n    at Object.\u003canonymous\u003e (D:\\git\\evillogger\\example\\example1.js:5:11)\n    at Module._compile (module.js:635:30)\n    at Object.Module._extensions..js (module.js:646:10)\n    at Module.load (module.js:554:32)\n    at tryModuleLoad (module.js:497:12)\n    at Function.Module._load (module.js:489:3)\n    at Function.Module.runMain (module.js:676:10)\n    at startup (bootstrap_node.js:187:16)\n    at bootstrap_node.js:608:3\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feviltik%2Fevillogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feviltik%2Fevillogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feviltik%2Fevillogger/lists"}