client-side frontend logger with multiple storagies
修复细节问题
F: fix error when property IDBTransaction.READ_WRITE is protected(seen in IE11) U: test improvement, tests will not run if a protocol is not supported by test-runner environment(like phantomjs)
A: add API config(key: string, value: any)
to configure logline
U: stop formatting numbers to string when output content onto console
U: safety improvement, capture more exceptions from bubbling to business logic layers
F: no longer throw out Errors, just console.error, to avoid upper business logic from crash
F change test suite from phantom to headless-chrome, fix indexed tests
A add environment variables Logline.env
A introduce live reload development mode
F fix multiple continue calls on cursor which is our of target time range
U prefer getAll API instead cursor in IndexedDB store
R remove console decoraters
A output logs in developer tool's console F IndexedDB: unable to remove special targeted logs
U use rollup.js bundler to reduce dist package size(33% off)
A add makefile, use make for automatic procedures
U replace comments in English
A add get
method to get logs in suitable time range, rename getAll
to all
F fix indexdb protocol issues when the primary key is auto-increased, and logging is called frequently(because keypath timestamp maybe duplicated in such case). U improve data structor in localStorage protocol to save a bit of storage space
reportTo
and deploy
is removed