Commit Graph

51 Commits

Author SHA1 Message Date
Fabian Stamm 3de5f368ef Add typescript declarations 2023-11-22 22:27:54 +01:00
Fabian Stamm e0b51625d8 Make it ESM only 2023-11-22 22:18:40 +01:00
User user 153aca0ccb Add missing await to addAdapter init 2021-05-19 11:41:14 +02:00
User user 7ca0c4fd72 Some performance optimizations 2021-05-18 14:10:59 +02:00
User user 8e183ac1a5 Add adapter based control of log level 2021-05-18 09:10:06 +02:00
Fabian Stamm feed4626e6 Fix bugf 2021-05-09 22:33:47 +02:00
Fabian Stamm 9d4e521619 Fix error with non existing close on adapter 2021-05-08 22:53:12 +02:00
Fabian Stamm 7d75f65dd3 Bind functions of Logging to this 2021-05-08 22:28:06 +02:00
Fabian Stamm eeed068ddd Add exports 2021-05-08 22:24:00 +02:00
Fabian Stamm 6daf815ea8 Change name of class 2021-05-08 22:18:44 +02:00
Fabian Stamm 357b98c69a Changing name again 2021-05-08 22:15:56 +02:00
Fabian Stamm 96d7808f35 V3 2021-05-08 21:47:00 +02:00
Fabian Stamm 176d37249d Making filename configurable after creation 2020-09-30 17:28:32 +02:00
Fabian Stamm bcff79fc90 Making filename output optional 2020-09-30 16:46:16 +02:00
Fabian Stamm b92caf6468 Add ESModule support 2020-08-26 11:55:57 +02:00
Fabian Stamm f34800d725 Use private fields 2020-05-18 17:06:18 +02:00
Fabian Stamm 1fd8da459b timeEnd returns measured time in ms 2020-05-05 18:33:33 +02:00
Fabian Stamm 4420fb13ea Fix bug with undefined file causing logging to throw an exception 2020-04-21 01:03:54 +02:00
Fabian Stamm 511bdf127f Make consolewriter colors default to true 2020-04-20 17:15:23 +02:00
Fabian Stamm 7ae1c3e16e Remove bad console.log 2020-04-15 19:59:24 +02:00
Fabian Stamm ca896c1c34 Switch file resolving 2020-04-15 19:51:15 +02:00
Fabian Stamm 30f5e241ae Improve get child behavior 2020-04-11 17:39:20 +02:00
Fabian Stamm a1cd860688 Changing naming scheme of getChild 2020-04-11 16:48:27 +02:00
Fabian Stamm f51f4e2aad Make getStack to clean up event when error occurs 2020-04-11 15:05:17 +02:00
Fabian Stamm fa7a168f17 Fixing bug with time using wrong logging instance 2020-04-09 18:39:43 +02:00
Fabian Stamm 2eb9356a9d Add get child 2020-04-09 18:33:47 +02:00
Fabian Stamm 9182efe7e7 Fixing some problems with the adapter API 2020-04-09 18:00:59 +02:00
Fabian Stamm 94d9731cdd Running everything through prettier 2020-04-09 17:50:30 +02:00
Fabian Stamm b647b8fae6 Merge branch 'master' of https://git.stamm.me/OpenServer/Logging 2020-04-09 17:47:43 +02:00
Fabian Stamm facb7e7b40 Fix wrong types 2 2020-04-06 11:57:00 +02:00
Fabian Stamm ed35aa17f2 Add missing any annotation 2020-04-06 11:50:47 +02:00
Fabian Stamm cedfe2cced Add time and timeEnd functionality 2020-04-06 11:47:59 +02:00
Fabian Stamm ce9742a20e Also adding prefix to browser console output 2020-03-21 21:13:46 +01:00
Fabian Stamm 675ec50139 Fixing error 2020-03-01 15:21:17 +01:00
Fabian Stamm d2da8da690 Version bump 2019-11-17 16:45:36 +01:00
Fabian 0573b45429 Merging 2019-11-17 16:44:57 +01:00
Fabian Stamm 51785e2b13 Fixing missing raw message 2019-11-17 16:09:35 +01:00
Fabian Stamm 965c85a275 Adding custom colored logging 2019-11-17 16:03:58 +01:00
Fabian 475b787612 Binding logging functions to Object 2019-10-12 12:46:07 +02:00
Fabian cc5fc5ae08 Adding LogLevel support 2019-07-13 12:10:20 +02:00
Fabian ca41468dc1 Updating dependencies 2019-05-14 11:35:30 -04:00
Fabian b1a1ab6783 Fixing bug that caused newline in browser console 2019-04-29 14:50:50 -04:00
Stamm 0c9ff9d018 Fixing wrong color 2019-04-05 09:26:26 -04:00
Stamm 8dec9e6d03 Exporting ConsoleAdapter 2019-04-05 09:05:35 -04:00
Fabian 6864756573 Adding close function to Logging to free resources 2019-04-04 22:38:34 -04:00
Fabian 590b0a9f13 Merging 2019-04-04 22:24:24 -04:00
Fabian 6065c37362 Improving logging 2019-04-04 22:22:52 -04:00
Fabian Stamm fd77f1d288 Adding name getter 2019-04-03 14:25:12 +00:00
Fabian 11619948e3 Changing coloring behavior 2019-04-02 19:55:04 -04:00
Fabian be009d24c0 Adding options export 2019-03-31 23:50:11 -04:00