RMidhunSuresh
dad37dece3
.js --> .ts
2021-11-09 11:46:05 +05:30
Bruno Windels
42654dbd4f
console logger for local dev
2021-03-01 15:07:24 +01:00
Bruno Windels
a372836a64
only create refids when used
2021-02-24 10:14:14 +01:00
Bruno Windels
7b7907add0
some doc comments for logging api
2021-02-23 19:23:12 +01:00
Bruno Windels
a8df30016b
mark force-finished log items when app closes
2021-02-23 15:36:36 +01:00
Bruno Windels
ed1b37d251
support referencing other log items that are detached (fire & forget)
...
for async tasks that are not awaited
2021-02-23 15:27:55 +01:00
Bruno Windels
f2f9162b85
log pagehide event
2021-02-18 19:47:16 +01:00
Bruno Windels
d201d2c9de
don't use depth based log filtering, also add Detail log level
...
it's hard to make it work with an override where you don't want
to filter by depth if a given loglevel is present in the children.
2021-02-18 12:44:19 +01:00
Bruno Windels
b28eefb2db
do emergency serialization without log filter
2021-02-16 19:53:37 +01:00
Bruno Windels
c3637def2e
ensure any breakage does not disrupt logging
2021-02-16 18:36:41 +01:00
Bruno Windels
2dd8803efc
better error handling if something goes wrong serializing log items
2021-02-16 18:30:23 +01:00
Bruno Windels
338f628627
remove option to anonymize
2021-02-16 18:30:06 +01:00
Bruno Windels
4defbe1322
simplify log filtering, while also adding depth based filtering
2021-02-16 15:07:17 +01:00
Bruno Windels
78805f0a65
implement dynamic log filtering
...
the logger does not have a base level any more, because there is
no sensible place to configure this.
instead, we allow to dynamically determine what should be logged
after an operation finished by setting the threshold and default
log level inspecting the finished log item.
2021-02-16 11:37:48 +01:00
Bruno Windels
07f8500d29
don't read from settings for now, as it is async
2021-02-12 18:55:37 +01:00
Bruno Windels
1183305d71
wrapLog => run is a better name
2021-02-12 18:36:21 +01:00
Bruno Windels
42780df94f
actually track log items, and correctly remove them
2021-02-12 18:36:04 +01:00
Bruno Windels
c0a03858eb
add option to anonymize logged values
2021-02-12 16:08:07 +01:00
Bruno Windels
0763410aa1
filter output when serializing by loglevel
2021-02-12 14:05:51 +01:00
Bruno Windels
91bd5f638c
finish logging api
2021-02-12 13:04:05 +01:00