{"id":13744056,"url":"https://github.com/jankeesvw/LogMeister","last_synced_at":"2025-05-09T02:32:18.615Z","repository":{"id":852906,"uuid":"583678","full_name":"jankeesvw/LogMeister","owner":"jankeesvw","description":"LogMeister, one Flash logger to rule them all","archived":true,"fork":false,"pushed_at":"2014-04-18T13:44:05.000Z","size":2145,"stargazers_count":35,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-06T17:11:49.038Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jankeesvw.png","metadata":{"files":{"readme":"README.markdown","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}},"created_at":"2010-03-28T18:31:04.000Z","updated_at":"2023-01-28T20:43:33.000Z","dependencies_parsed_at":"2022-07-25T22:02:47.825Z","dependency_job_id":null,"html_url":"https://github.com/jankeesvw/LogMeister","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/jankeesvw%2FLogMeister","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jankeesvw%2FLogMeister/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jankeesvw%2FLogMeister/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jankeesvw%2FLogMeister/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jankeesvw","download_url":"https://codeload.github.com/jankeesvw/LogMeister/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253177786,"owners_count":21866401,"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.185Z","updated_at":"2025-05-09T02:32:17.771Z","avatar_url":"https://github.com/jankeesvw.png","language":"ActionScript","funding_links":[],"categories":["Frameworks"],"sub_categories":["Logger Framework"],"readme":"# Philosophy behind LogMeister\n\n**NOTICE: THIS PROJECT IS NO LONGER MAINTAINED. **\n\nThere are several Loggers used by Flash developers, some like Trazzle and others like the MonsterDebugger. I switch between loggers from time to time. I like Trazzle because it's super fast and I use MonsterDebugger because is really extensive. Therefor I needed an easy way to switch between loggers. That's why I created LogMeister. LogMeister is a simple logger wrapper which you can use for every loggers (I have used in the last four years).\n\nYou connect to loggers with a ‘connector’. All 3rth party code of loggers is included in this package, so switching loggers is as easy as adding one line of code. Getting all loggers out of your project is as easy as removing all connectors. And logmeister is packaged in one swc file which makes it easy to use.\n\n## Included loggers\n\nBy default 8 loggers are included. These are the loggers I happen to use over the last years. It's really easy to add another logger skip to the ‘Creating your own connector’ section if you want to know how.\n\nIncluded loggers:\n\n* Firebug\n* Flash (regular traces)\n* Monster Debugger v2\n* Monster Debugger v3 (NEW!)\n* Server (to be open sourced)\n* Sosmax\n* Trazzle\n* Yalog\n\n## Usage\n\n### Adding loggers\n\nFirst you need to add one or multiple connectors to LogMeister.\n\nBelow you can see how to add all loggers (not recommended).\n\n```as3\nimport logmeister.LogMeister;\nimport logmeister.connectors.*;\n\nLogMeister.addLogger(new TrazzleConnector(stage, \"Application Name\"));\nLogMeister.addLogger(new SosMaxConnector());\nLogMeister.addLogger(new MonsterDebuggerConnector(stage));\nLogMeister.addLogger(new MonsterDebuggerV2Connector(stage));\nLogMeister.addLogger(new YalogConnector());\nLogMeister.addLogger(new FlashConnector());\nLogMeister.addLogger(new FirebugConnector());\n```\n\nAs you can see Trazzle and the MonsterDebugger need the stage as a reference.\n\n### Logging\n\nIf you want to send a log to all your active loggers pick one of the following functions. (You don't need to import anything!!)\n\n```as3\ncritical('critical');\ndebug('debug');\nerror('error');\nfatal('fatal');\ninfo('info');\nnotice('notice');\nstatus('status');\nwarn('warn');\ntrace('regular trace');\n```\n\n# Creating your own connector\n\nCreating a custom connector for your own logger is not hard, as an example I created a CustomLogger below, this logger outputs 'traces'\n\n```as3\npackage logmeister.connectors {\n\n  public class CustomConnector extends AbstractConnector implements ILogMeisterConnector {\n\n    public function init() : void {\n    }\n\n    public function sendDebug(...args) : void {\n      trace(\"debug    : \" + args + \" \" + getSender());\n    }\n\n    public function sendInfo(...args) : void {\n      trace(\"info     : \" + args + \" \" + getSender());\n    }\n\n    public function sendNotice(...args) : void {\n      trace(\"notice   : \" + args + \" \" + getSender());\n    }\n\n    public function sendWarn(...args) : void {\n      trace(\"warn     : \" + args + \" \" + getSender());\n    }\n\n    public function sendError(...args) : void {\n      trace(\"error    : \" + args + \" \" + getSender());\n    }\n\n    public function sendFatal(...args) : void {\n      trace(\"fatal    : \" + args + \" \" + getSender());\n    }\n\n    public function sendCritical(...args) : void {\n      trace(\"critical : \" + args + \" \" + getSender());\n    }\n\n    public function sendStatus(...args) : void {\n      trace(\"status   : \" + args + \" \" + getSender());\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjankeesvw%2FLogMeister","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjankeesvw%2FLogMeister","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjankeesvw%2FLogMeister/lists"}