Bruno Windels
8140e4f2c3
fix typescript errors
2022-05-09 14:23:57 +02:00
Bruno Windels
0fdc6b1c3a
log both to idb storage and console, include open items in export
...
refactor logging api so a logger has multiple reporters, IDBLogPersister
and/or ConsoleReporter.
By default, we add the idb persister for production and both for dev
You can also inject your own logger when creating the platform now.
2022-05-06 15:54:45 +02:00
Bruno Windels
1a08616df1
logging improvements
2022-05-04 18:44:11 +02:00
Bruno Windels
eaf92b382b
add structured logging to call code
2022-03-29 12:01:47 +02:00
Bruno Windels
3adb2c3254
fix ts errors
2022-02-10 16:44:40 +01:00
Bruno Windels
5ea29297cc
fix typescript errors
2021-12-09 18:44:44 +01:00
Bruno Windels
692ae25e76
remove unused method
2021-11-17 14:35:26 +01:00
Bruno Windels
695996d6e2
add ILogger and ILogExport interface, to give export correct return type
...
also move logging related types to own file
2021-11-17 11:39:12 +01:00
RMidhunSuresh
d01271fb15
_run return T or void depending on boolean
2021-11-17 13:22:19 +05:30
RMidhunSuresh
4161d31642
Convert NullLogger to typescript
2021-11-16 12:23:06 +05:30
RMidhunSuresh
4c1d7a8f2d
Use generics over returning unknown
2021-11-15 22:47:38 +05:30
RMidhunSuresh
fe69f84c85
Use undefined in LogItem.serialize
2021-11-15 19:32:16 +05:30
RMidhunSuresh
ba5f2032ba
Make properties in LogItem optional, not null
2021-11-15 19:17:49 +05:30
RMidhunSuresh
520e0f1b89
Use interface ILogItem
2021-11-15 17:29:08 +05:30