{"id":16992505,"url":"https://github.com/felixpy/vue-logger-mixin","last_synced_at":"2026-05-09T10:55:45.237Z","repository":{"id":93762148,"uuid":"122857683","full_name":"felixpy/vue-logger-mixin","owner":"felixpy","description":"A logger mixin for vue which can use different patterns and appenders.","archived":false,"fork":false,"pushed_at":"2019-04-24T10:01:52.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-03-16T11:16:07.115Z","etag":null,"topics":["log","logger","mixin","vue","vue-log","vue-logger"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felixpy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2018-02-25T17:14:53.000Z","updated_at":"2019-04-24T10:00:25.000Z","dependencies_parsed_at":"2023-03-25T20:17:26.057Z","dependency_job_id":null,"html_url":"https://github.com/felixpy/vue-logger-mixin","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"edc376b39563bfb5d8f0caea681e8ade9f66be48"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixpy%2Fvue-logger-mixin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixpy%2Fvue-logger-mixin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixpy%2Fvue-logger-mixin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixpy%2Fvue-logger-mixin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felixpy","download_url":"https://codeload.github.com/felixpy/vue-logger-mixin/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244907378,"owners_count":20529851,"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":["log","logger","mixin","vue","vue-log","vue-logger"],"created_at":"2024-10-14T03:29:19.068Z","updated_at":"2026-05-09T10:55:40.130Z","avatar_url":"https://github.com/felixpy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-logger-mixin\n\nA logger mixin for Vue.js which can use different patterns and appenders with [@felixpy/logger](https://github.com/felixpy/logger).\n\n## Installation\n\n### Using NPM\n\n```sh\nnpm i vue-logger-mixin --save\n```\n\n## Quick Start\n\n```js\nimport Vue from 'vue'\nimport LoggerMixin from 'vue-logger-mixin'\n\nVue.use(LoggerMixin)\n\nnew Vue({\n  // ...\n\n  components: {\n    foobar: {\n      created() {\n        this.$logger.log('created', 'Hello Logger!')\n      }\n    }\n  }\n})\n// [3/3/2018, 1:19:35 AM] [LOG] [foobar-\u003ecreated] - Hello Logger!\n```\n\n## Options\n\nYou can specify an options when using mixin:\n\n```js\nVue.use(LoggerMixin, {\n  // custom config\n  config: {\n    separator: '\u003e\u003e\u003e',\n    dateFormatter: function(date) {\n      return date.toISOString()\n    }\n  }\n})\n```\n\nFor more details, see: [@felixpy/logger](https://github.com/felixpy/logger).\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2018, Felix Yang\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixpy%2Fvue-logger-mixin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelixpy%2Fvue-logger-mixin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixpy%2Fvue-logger-mixin/lists"}