{"id":13744051,"url":"https://github.com/brian428/Swiz-Console","last_synced_at":"2025-05-09T02:32:19.991Z","repository":{"id":137520249,"uuid":"1374758","full_name":"brian428/Swiz-Console","owner":"brian428","description":"An implementation of the Kap Lab debugging console for the Swiz framework","archived":false,"fork":false,"pushed_at":"2011-06-29T06:44:05.000Z","size":2153,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-15T15:41:53.926Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brian428.png","metadata":{"files":{"readme":"readme.txt","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}},"created_at":"2011-02-16T17:42:46.000Z","updated_at":"2016-12-22T18:17:45.000Z","dependencies_parsed_at":"2023-03-15T12:16:08.086Z","dependency_job_id":null,"html_url":"https://github.com/brian428/Swiz-Console","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brian428%2FSwiz-Console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brian428%2FSwiz-Console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brian428%2FSwiz-Console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brian428%2FSwiz-Console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brian428","download_url":"https://codeload.github.com/brian428/Swiz-Console/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253177793,"owners_count":21866402,"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":[],"created_at":"2024-08-03T05:01:02.061Z","updated_at":"2025-05-09T02:32:19.693Z","avatar_url":"https://github.com/brian428.png","language":"ActionScript","readme":"The Swiz Console (download swc) is an implementation of the Kap Lab debugging console. It offers a number of features that help in building and debugging Swiz-based applications. Note that right now this only works with the 4.x SDK, since building a 3.x SDK version will require conditional compilation to generate separate swcs.\n\nUsing the Swiz Console\nAfter you add the swc to your project (typically in the /libs folder), using the console is very straightforward:\n\nIn whatever page contains your Swiz configuration (usually Application or WindowedApplication), add the namespaces for the custom metadata processors and the custom logging class:\n\nxmlns:logging=\"org.swizframework.console.logging.*\"\nxmlns:processors=\"org.swizframework.console.processors.*\"\n\nNext, modify your Swiz configuration to use the custom logger and processors:\n\n\u003cswiz:Swiz id=\"mySwiz\"\u003e\n\t\u003cswiz:config\u003e\n\t\t\u003cswiz:SwizConfig id=\"mySwizConfig\" eventPackages=\"my.events.*\" viewPackages=\"my.views.*\" /\u003e\n\t\u003c/swiz:config\u003e\n\t\u003cswiz:beanProviders\u003e\n\t\t\u003clocal:Beans /\u003e\n\t\u003c/swiz:beanProviders\u003e\n\t\u003cswiz:loggingTargets\u003e\n\t\t\u003cswiz:SwizTraceTarget id=\"myTraceTarget\" /\u003e\n\t\t\u003clogging:KapITSwizLoggingTarget id=\"kapITLoggingTarget\" /\u003e\n\t\u003c/swiz:loggingTargets\u003e\n\t\u003cswiz:customProcessors\u003e\n\t\t\u003cprocessors:InspectableMetadataProcessorArray /\u003e\n\t\u003c/swiz:customProcessors\u003e\n\u003c/swiz:Swiz\u003e\nThe custom Array is there as a convenience, to cover most situations. If you have your own custom processors in use already, just add all of the custom Swiz console processors (InspectableDispatcherProcessor, InspectableEventHandlerProcessor, InspectableInjectProcessor, InspectablePostConstructProcessor, InspectablePreDestroyProcessor, InspectableSwizInterfaceProcessor, InspectableViewProcessor, and InspectableSwizProcessor) individually.\n\nFinally, add an onApplicationComplete handler and initialize the console:\n\nprivate function onApplicationComplete() : void\n{\n\tvar p : SwizConsole = new SwizConsole();\n\tp.showPopup();\n}\nIf you close the console (or you remove the showPopup() call if you don't want it to show up immediately), you can open the console by doing a control-alt click on the application.","funding_links":[],"categories":["Frameworks"],"sub_categories":["Logger Framework"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrian428%2FSwiz-Console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrian428%2FSwiz-Console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrian428%2FSwiz-Console/lists"}