{"id":24200830,"url":"https://github.com/manchumahara/cbxwpwritelog","last_synced_at":"2026-05-10T11:53:35.036Z","repository":{"id":144791986,"uuid":"118877211","full_name":"manchumahara/cbxwpwritelog","owner":"manchumahara","description":"A simple dev plugin that helps to write something to debug log file and view log file","archived":false,"fork":false,"pushed_at":"2023-03-07T07:04:33.000Z","size":322,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T20:52:42.580Z","etag":null,"topics":["codeboxr","devtools","manchumahara","php","plugin","wordpress","wpdebug"],"latest_commit_sha":null,"homepage":"https://codeboxr.com/","language":"Hack","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manchumahara.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-01-25T07:17:11.000Z","updated_at":"2023-12-27T06:36:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4dad086-5cd8-494d-9514-15334a6b7c12","html_url":"https://github.com/manchumahara/cbxwpwritelog","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manchumahara%2Fcbxwpwritelog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manchumahara%2Fcbxwpwritelog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manchumahara%2Fcbxwpwritelog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manchumahara%2Fcbxwpwritelog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manchumahara","download_url":"https://codeload.github.com/manchumahara/cbxwpwritelog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241644566,"owners_count":19996179,"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":["codeboxr","devtools","manchumahara","php","plugin","wordpress","wpdebug"],"created_at":"2025-01-13T20:51:31.331Z","updated_at":"2025-11-29T13:05:35.545Z","avatar_url":"https://github.com/manchumahara.png","language":"Hack","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nThis plugin adds a helper function to write log in wordpress debug file. This plugin also writes email send fail logs\n\nUsages:\n\n01. Write log\n```php\nif (function_exists( 'write_log' ) ) {\n\twrite_log('testing a variable output');\n\twrite_log($name);\n}\n```\n02. View Log\n[http://your_domain/?cbxwpwritelog=1](http://your_domain/?cbxwpwritelog=1)\n\n\nFor any query [contact us](https://codeboxr.com/contact-us/)\n\n\n\n# Installation\n\nThis section describes how to install the plugin and get it working.\n\ne.g.\n\n1. Upload `cbxwpwritelog` folder to the `/wp-content/plugins/` directory\n2. Activate the plugin through the 'Plugins' menu in WordPress\n3. call function `\u003c?php write_log('your content, variable or object here'); ?\u003e` in your templates or plugin anywhere where you need to\n4. There are other ways to install a plugin please check WordPress Codex https://codex.wordpress.org/Managing_Plugins\n\nTo enable debug you need put following in your WordPress wp-config.php file\n```php\n\n//to enable debug\ndefine('WP_DEBUG', true); //enable debugs\ndefine( 'WP_DEBUG_DISPLAY', true); //displays debug , if you don't show set it false\ndefine( 'WP_DEBUG_LOG', true); //stores debug in wp-content/debug.log  or as you configure your wp content folder\n\n//to enable/disable email fail or success debug\ndefine('CBXWPWRITELOG_EMAIL_FAILED', false); //set true to enable email fail debug\ndefine('CBXWPWRITELOG_EMAIL_SENT', false); //set true to enable email success debug\n```\n\n# Screenshots\n\n![screenshot](https://raw.githubusercontent.com/manchumahara/cbxwpwritelog/master/assets/screenshot-1.jpg)\n\n# Changelog\n= 1.0.4 =\n* View error log http://your_domain/?cbxwpwritelog=1\n\n= 1.0.3 =\n* Debug boolean in better way\n\n= 1.0.2 =\n* Email sent or fail debug\n\n= 1.0.1 =\n* Initial version released\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanchumahara%2Fcbxwpwritelog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanchumahara%2Fcbxwpwritelog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanchumahara%2Fcbxwpwritelog/lists"}