{"id":20757765,"url":"https://github.com/ernilambar/log-command","last_synced_at":"2026-04-13T11:32:40.022Z","repository":{"id":261960016,"uuid":"885695963","full_name":"ernilambar/log-command","owner":"ernilambar","description":"Debug log helpers.","archived":false,"fork":false,"pushed_at":"2024-11-10T11:10:26.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-25T23:36:08.991Z","etag":null,"topics":["wp-cli-package"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ernilambar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-09T06:25:17.000Z","updated_at":"2024-11-10T11:10:19.000Z","dependencies_parsed_at":"2024-11-09T15:23:49.946Z","dependency_job_id":"3004020d-575d-42de-9522-ba3150fb87a9","html_url":"https://github.com/ernilambar/log-command","commit_stats":null,"previous_names":["ernilambar/log-command"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ernilambar/log-command","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernilambar%2Flog-command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernilambar%2Flog-command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernilambar%2Flog-command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernilambar%2Flog-command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ernilambar","download_url":"https://codeload.github.com/ernilambar/log-command/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernilambar%2Flog-command/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31751379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["wp-cli-package"],"created_at":"2024-11-17T09:44:43.338Z","updated_at":"2026-04-13T11:32:40.005Z","avatar_url":"https://github.com/ernilambar.png","language":"PHP","readme":"ernilambar/log-command\n======================\n\nDebug log helpers. Note: By default \"reverse chronological\" order is used.\n\n\n\nQuick links: [Using](#using) | [Installing](#installing)\n\n## Using\n\nThis package implements the following commands:\n\n### wp log clear\n\nClears debug log content.\n\n~~~\nwp log clear \n~~~\n\n**EXAMPLES**\n\n    # Clear log.\n    $ wp log clear\n    Success: Debug log content cleared successfully.\n\n\n\n### wp log count\n\nGets number of entries.\n\n~~~\nwp log count \n~~~\n\n**EXAMPLES**\n\n    # Get log entries count.\n    $ wp log count\n    4\n\n\n\n### wp log delete\n\nDeletes debug log file.\n\n~~~\nwp log delete \n~~~\n\n**EXAMPLES**\n\n    # Delete log file.\n    $ wp log delete\n    Success: Debug log file deleted successfully.\n\n\n\n### wp log file\n\nGets the log file.\n\n~~~\nwp log file \n~~~\n\n**EXAMPLES**\n\n    # Get log file.\n    $ wp log file\n    /Users/johndoe/Sites/staging/app/public/wp-content/debug.log\n\n\n\n### wp log get\n\nGets log entries.\n\n~~~\nwp log get [\u003cnumber\u003e] [--all] [--chronological]\n~~~\n\n**OPTIONS**\n\n\t[\u003cnumber\u003e]\n\t\tNumber of entries.\n\n\t[--all]\n\t\tIf set, all entries are displayed.\n\n\t[--chronological]\n\t\tIf set, chronological order is used.\n\n**EXAMPLES**\n\n    # Get 2 recent entries.\n    $ wp log get 2\n    [09-Nov-2024 06:01:31 UTC] Automatic updates complete.\n    [09-Nov-2024 06:01:29 UTC] Automatic updates starting...\n\n\n\n### wp log list\n\nLists log entries.\n\n~~~\nwp log list [--field=\u003cfield\u003e] [--fields=\u003cfields\u003e] [--format=\u003cformat\u003e] [--page=\u003cpage\u003e] [--per-page=\u003cper-page\u003e] [--chronological]\n~~~\n\n**OPTIONS**\n\n\t[--field=\u003cfield\u003e]\n\t\tReturns the value of a single field.\n\n\t[--fields=\u003cfields\u003e]\n\t\tLimit the output to specific fields.\n\n\t[--format=\u003cformat\u003e]\n\t\tRender output in a particular format.\n\t\t---\n\t\tdefault: table\n\t\toptions:\n\t\t  - table\n\t\t  - csv\n\t\t  - json\n\t\t  - yaml\n\t\t---\n\n\t[--page=\u003cpage\u003e]\n\t\tPage to display. Defaults to 1.\n\t\t---\n\t\tdefault: 1\n\t\t---\n\n\t[--per-page=\u003cper-page\u003e]\n\t\tNumber of entries to display. Defaults to 10.\n\t\t---\n\t\tdefault: 10\n\t\t---\n\n\t[--chronological]\n\t\tIf set, chronological order is used.\n\n**AVAILABLE FIELDS**\n\nThese fields will be displayed by default for each entry:\n\n* log_date\n* excerpt\n\nThese fields are optionally available:\n\n* date\n* time_ago\n* description\n\n**EXAMPLES**\n\n    # List entries.\n    $ wp log list --format=csv\n    date,excerpt\n    \"09-Nov-2024 06:01:31 UTC\",\"Automatic updates complete.\"\n    \"09-Nov-2024 06:01:29 UTC\",\"Automatic updates starting...\"\n    ...\n\n\n\n### wp log path\n\nGets the path to the debug log file.\n\n~~~\nwp log path \n~~~\n\n**EXAMPLES**\n\n    # Get path.\n    $ wp log path\n    /Users/johndoe/Sites/staging/app/public/wp-content\n\n## Installing\n\nInstalling this package requires WP-CLI v2.11 or greater. Update to the latest stable release with `wp cli update`.\n\nOnce you've done so, you can install the latest stable version of this package with:\n\n```bash\nwp package install ernilambar/log-command:@stable\n```\n\nTo install the latest development version of this package, use the following command instead:\n\n```bash\nwp package install ernilambar/log-command:dev-main\n```\n\n\n*This README.md is generated dynamically from the project's codebase using `wp scaffold package-readme` ([doc](https://github.com/wp-cli/scaffold-package-command#wp-scaffold-package-readme)). To suggest changes, please submit a pull request against the corresponding part of the codebase.*\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernilambar%2Flog-command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fernilambar%2Flog-command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernilambar%2Flog-command/lists"}