diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2024-02-18 08:01:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-18 13:01:22 +0000 |
commit | 90449bc745546f0f25bc93ee4b06d21b7c0210e8 (patch) | |
tree | 728153aaa4588a7340c3f3a45008989c0f5521b3 /ext/js/dictionary | |
parent | c2e3f60e51529f05284fea5f5bc1afcd1674f5ca (diff) |
Log update (#701)
* Don't export Logger
* Rename logger.js to log.js
* Move helper function
* Update extension name configuration
* Simplify docs
* Move issue URL to a field
* Simplify context
* Remove optional params that are never used
* Configure backend
* Update eslint
* Simplify
* Rename function
* Simplify _api reference
* Simplify docs
* Remove unused log levels (except 'log')
* Add log function
* Rename for more clear intent
* Use log.log
Diffstat (limited to 'ext/js/dictionary')
-rw-r--r-- | ext/js/dictionary/dictionary-database.js | 2 | ||||
-rw-r--r-- | ext/js/dictionary/dictionary-worker-main.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/dictionary/dictionary-database.js b/ext/js/dictionary/dictionary-database.js index 6c7de339..ca90f6a6 100644 --- a/ext/js/dictionary/dictionary-database.js +++ b/ext/js/dictionary/dictionary-database.js @@ -16,7 +16,7 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import {log} from '../core/logger.js'; +import {log} from '../core/log.js'; import {stringReverse} from '../core/utilities.js'; import {Database} from '../data/database.js'; diff --git a/ext/js/dictionary/dictionary-worker-main.js b/ext/js/dictionary/dictionary-worker-main.js index d63a3a20..75b86308 100644 --- a/ext/js/dictionary/dictionary-worker-main.js +++ b/ext/js/dictionary/dictionary-worker-main.js @@ -16,7 +16,7 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import {log} from '../core/logger.js'; +import {log} from '../core/log.js'; import {DictionaryWorkerHandler} from './dictionary-worker-handler.js'; /** Entry point. */ |