diff --git a/package.json b/package.json index 0e4bcee..d94ff14 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "advanced-css-reset": "^1.1.1", "react": "^16.13.1", "react-dom": "^16.13.1", + "unicorn.log": "^1.7.0", "webext-base-css": "^1.1.0", "webextension-polyfill-ts": "^0.14.0" }, diff --git a/source/Background/index.ts b/source/Background/index.ts index 0cee38c..0c42ef2 100644 --- a/source/Background/index.ts +++ b/source/Background/index.ts @@ -1,5 +1,6 @@ +import 'unicorn.log'; import {browser} from 'webextension-polyfill-ts'; browser.runtime.onInstalled.addListener((): void => { - console.log('extension installed'); + console.unicorn('extension installed'); }); diff --git a/yarn.lock b/yarn.lock index 318f5e4..0d5d8c8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7543,6 +7543,11 @@ unicode-property-aliases-ecmascript@^1.0.4: resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57" integrity sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw== +unicorn.log@^1.7.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/unicorn.log/-/unicorn.log-1.7.0.tgz#3056eb5fc883252a39f04b8d0078a97a8bdf3f18" + integrity sha512-40ww3Kr4wXJvtMxJEC0rBzMn3vfxIYrRWziYuxnxBmPjplQGxg4KFOJ5oGRAtbGEhLi56vCCueEHcvd/k7am2Q== + union-value@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847"