{"id":37028476,"url":"https://github.com/yanzhan91/easy-print","last_synced_at":"2026-01-14T03:24:17.571Z","repository":{"id":57735368,"uuid":"381909156","full_name":"yanzhan91/easy-print","owner":"yanzhan91","description":"Easier way to debug with print.","archived":false,"fork":false,"pushed_at":"2021-07-08T05:18:12.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T18:34:49.232Z","etag":null,"topics":["debugging","debugging-tool","java","library","maven","print","println","systemout"],"latest_commit_sha":null,"homepage":"","language":"Java","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/yanzhan91.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":"2021-07-01T04:30:39.000Z","updated_at":"2021-07-12T14:27:49.000Z","dependencies_parsed_at":"2022-08-23T16:20:25.616Z","dependency_job_id":null,"html_url":"https://github.com/yanzhan91/easy-print","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yanzhan91/easy-print","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanzhan91%2Feasy-print","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanzhan91%2Feasy-print/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanzhan91%2Feasy-print/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanzhan91%2Feasy-print/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanzhan91","download_url":"https://codeload.github.com/yanzhan91/easy-print/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanzhan91%2Feasy-print/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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":["debugging","debugging-tool","java","library","maven","print","println","systemout"],"created_at":"2026-01-14T03:24:16.816Z","updated_at":"2026-01-14T03:24:17.566Z","avatar_url":"https://github.com/yanzhan91.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# easy-print\n\n[![Maven Build](https://github.com/yanzhan91/easy-print/actions/workflows/maven.yml/badge.svg)](https://github.com/yanzhan91/easy-print/actions/workflows/maven.yml)\n[![MIT License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yanzhan91/easy-print/blob/main/LICENSE)\n\nNever use `system.out.println()` again!\n\n### Features\n\n1. `print(...)` or `p(...)` to replace `system.out.println()`\n2. Toggle on/off prints in higher environments with `EasyPrint.enable(false)` or using environment variable `EASYPRINT_ENABLED = false`\n3. Spy on method parameters allowing you to know exactly what you're passing in. See below for examples.\n4. Display package, class, method, line number, and even the type of printed argument. Reduce output verbiage by optionally toggling on/off configurations.\n    \n### Usage\n```\n\u003cgroupId\u003eio.github.yanzhan91\u003c/groupId\u003e\n\u003cartifactId\u003eeasy-print\u003c/artifactId\u003e\n\u003cversion\u003e{version}\u003c/version\u003e\n```\n```\nimport static EasyPrint.print;\nimport static EasyPrint.p;\n\nprint(\"I'm printing a string\")\np(\"This is a shorter method name\")\n\nint a = 3;\nint b = 4;\nint c = 5;\nboolean result = isPythagoreanTriple(p(a), p(b), p(c));\nprint(result)\n```\n```\n\u003e\u003e\u003e com.package.class_name \u003e method_name:line_number (java.lang.String) - I'm printing a string\n\u003e\u003e\u003e com.package.class_name \u003e method_name:line_number (java.lang.String) - This is a shorter method name\n\u003e\u003e\u003e com.package.class_name \u003e method_name:line_number (java.lang.Integer) - 3\n\u003e\u003e\u003e com.package.class_name \u003e method_name:line_number (java.lang.Integer) - 4\n\u003e\u003e\u003e com.package.class_name \u003e method_name:line_number (java.lang.Integer) - 5\n\u003e\u003e\u003e com.package.class_name \u003e method_name:line_number (java.lang.Boolean) - true\n```\n\n### Customization\n\n```\nEasyPrint.enable(true)\nEasyPrint.setShowLineNumber(true)\nEasyPrint.setShowType(true)\n```\nOr with environment variables (this takes precedence)\n```\nEASYPRINT_ENABLED = false\nEASYPRINT_SHOWLINENUMBER = false\nEASYPRINT_SHOWTYPE = false \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanzhan91%2Feasy-print","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanzhan91%2Feasy-print","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanzhan91%2Feasy-print/lists"}