{"id":25209915,"url":"https://github.com/backdrop-contrib/object_log","last_synced_at":"2025-04-05T05:24:57.757Z","repository":{"id":216798526,"uuid":"742383792","full_name":"backdrop-contrib/object_log","owner":"backdrop-contrib","description":"Allows Backdrop CMS developers to store objects, arrays and other variables to a log table for later inspection.","archived":false,"fork":false,"pushed_at":"2024-07-27T18:41:27.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":9,"default_branch":"1.x-1.x","last_synced_at":"2025-02-10T13:18:48.124Z","etag":null,"topics":["array","backdrop","backdropcms","cms","developer","developer-tools","development","krumo","log","object","tools","variable"],"latest_commit_sha":null,"homepage":"https://backdropcms.org/project/object_log","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/backdrop-contrib.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}},"created_at":"2024-01-12T10:59:09.000Z","updated_at":"2024-07-27T18:41:30.000Z","dependencies_parsed_at":"2024-01-12T23:45:05.412Z","dependency_job_id":"5ccd2386-abb8-4da8-9eb3-48eb97b080e1","html_url":"https://github.com/backdrop-contrib/object_log","commit_stats":null,"previous_names":["backdrop-contrib/object_log"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fobject_log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fobject_log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fobject_log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backdrop-contrib%2Fobject_log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/backdrop-contrib","download_url":"https://codeload.github.com/backdrop-contrib/object_log/tar.gz/refs/heads/1.x-1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247290759,"owners_count":20914739,"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":["array","backdrop","backdropcms","cms","developer","developer-tools","development","krumo","log","object","tools","variable"],"created_at":"2025-02-10T13:18:58.151Z","updated_at":"2025-04-05T05:24:57.738Z","avatar_url":"https://github.com/backdrop-contrib.png","language":"PHP","readme":"Object Log\n========\n\u003c!--\nThe first paragraph of this file should be kept short as it will be used as the\nproject summary on BackdropCMS.org. Aim for about 240 characters (three lines at\n80 characters each).\n\nAll lines in this file should be no more than 80 characters long for legibility,\nunless including a URL or example that requires the line to not wrap.\n|\u003c- - - - - - - This line is exactly 80 characters for reference - - - - - - -\u003e|\n\nDetail in READMEs should be limited to the minimum required for installation and\ngetting started. More detailed documentation should be moved to a GitHub wiki\npage; for example: https://github.com/backdrop-contrib/setup/wiki/Documentation.\n--\u003e\nThe Object Log module allows developers to store objects, arrays and other\nvariables to a log table so that they may be inspected later. Multiple stored\nvariables may be displayed side-by-side in the Object Log under admin/reports.\n\nThe usage is similar to Devel module's `dpm()` or `kprint_r()` functions, but\nis particularly suited for debugging server-to-server requests, such as cron\nruns and web services, or for requests from anonymous and other unprivileged\nusers.\n\nOther uses include where the use of `dpm()` slows down the rendering of a page\nto the extent where it is unusable or where Krumo is not able to render an\nobject.\n\nUsage\n---------------------\n\nWhen you reach a point in a code at which you would like to store a variable,\ncall the object_log() function...\n\n  ```php\n  object_log($label, $data);\n  ```\n\n...where $label is a string representing a name to give the object in the log,\nand $data is the variable you wish to store. If there is already a stored object\nwith the same $label, that entry will be overwritten in the log.\n\nIf you want to inspect the same object over time, you could append a date\nstring or other identifier to the label to give distinct entries:\n\n```php\n$label = 'object_label' . date('ymd_His')\nobject_log($label, $data);\n```\n\nStored objects may be inspected by any user with the \"access devel information\"\npermission by going to admin/reports/object_log.  While inspecting an object,\na second object may be selected to display both objects side-by-side.\n\nRequirements\n------------\n\u003c!--\nList any dependencies here. Remove this section if not needed.\n--\u003e\n\nThis module requires that the following modules are also enabled:\n\n- Devel\n\nInstallation\n------------\n\u003c!--\nList the steps needed to install and configure the module. Add/remove steps as\nnecessary.\n--\u003e\n\n- Install this module using the official Backdrop CMS instructions at\n  https://docs.backdropcms.org/documentation/extend-with-modules.\n\nIssues\n------\n\u003c!--\nLink to the repo's issue queue.\n--\u003e\n\nBugs and Feature Requests should be reported in the Issue Queue:\nhttps://github.com/backdrop-contrib/object_log/issues.\n\nCurrent Maintainers\n-------------------\n\u003c!--\nList the current maintainer(s) of the module, and note if this module needs\nnew/additional maintainers.\n--\u003e\n\n- [Martin Price](https://github.com/yorkshire-pudding) - [System Horizons Ltd](https://www.systemhorizons.co.uk)\n- Collaboration and co-maintainers welcome!\n\nCredits\n-------\n\u003c!--\nGive credit where credit's due.\nIf this is a Drupal port, state who ported it, and who wrote the original Drupal\nmodule. If this module is based on another project, or uses third-party\nlibraries, list them here. You can also mention any organisations/companies who\nsponsored the module's development.\n--\u003e\n\n- Ported to Backdrop CMS by - [Martin Price](https://github.com/yorkshire-pudding) - [System Horizons Ltd](https://www.systemhorizons.co.uk).\n- Port sponsored by [System Horizons Ltd](https://www.systemhorizons.co.uk).\n- Originally written for Drupal by [Les Lim](https://www.drupal.org/u/les-lim).\n\nLicense\n-------\n\u003c!--\nMention what license this module is released under, and where people can find\nit.\n--\u003e\n\nThis project is GPL v2 software.\nSee the LICENSE.txt file in this directory for complete text.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackdrop-contrib%2Fobject_log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackdrop-contrib%2Fobject_log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackdrop-contrib%2Fobject_log/lists"}