{"id":28840588,"url":"https://github.com/britzl/printlogger","last_synced_at":"2025-10-29T13:42:26.244Z","repository":{"id":18135782,"uuid":"21216983","full_name":"britzl/printlogger","owner":"britzl","description":"print() to stdout and log files","archived":false,"fork":false,"pushed_at":"2014-08-29T11:18:04.000Z","size":176,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-04-08T06:22:32.767Z","etag":null,"topics":["lua"],"latest_commit_sha":null,"homepage":null,"language":"Lua","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/britzl.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":"2014-06-25T20:07:59.000Z","updated_at":"2019-03-15T21:12:12.000Z","dependencies_parsed_at":"2022-09-07T14:53:14.634Z","dependency_job_id":null,"html_url":"https://github.com/britzl/printlogger","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/britzl/printlogger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/britzl%2Fprintlogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/britzl%2Fprintlogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/britzl%2Fprintlogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/britzl%2Fprintlogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/britzl","download_url":"https://codeload.github.com/britzl/printlogger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/britzl%2Fprintlogger/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260774878,"owners_count":23060944,"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":["lua"],"created_at":"2025-06-19T15:09:34.847Z","updated_at":"2025-10-29T13:42:26.238Z","avatar_url":"https://github.com/britzl.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"printlogger\n===========\n\nprint() to stdout and log files\n\n\nexample\n=======\n```\nrequire(\"printlogger\")\n\nprint.set_log_level(\"CUSTOM\", io.open(\"customlevel\", \"wa\"))\n\nprint(\"This will be printed and logged using the default log level (DEBUG)\")\nprint(print.CUSTOM, \"This will end up in the custom file\")\nprint(print.WARN, \"This will end up in the warning file\")\nprint(print.DEBUG, \"This will end up in the debug file\")\nprint.set_log_level(print.DEBUG, nil) -- disable the debug level\nprint(print.DEBUG, \"This will NOT be logged\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbritzl%2Fprintlogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbritzl%2Fprintlogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbritzl%2Fprintlogger/lists"}