Commit ee8aa12
authored
Fb/new logger (#20)
* add grueni-logger as reference
* some logger level changes
* start logger v2
* more loggering
* bla bla progress
* bla bla progress 2
* bla bla progress 3
* bla bla progress 4
* bla bla proud of our progress 5
* bla bla proud of our progress 6
* bla bla proud of our progress 7
* bla bla proud of our progress 8
* bla bla proud of our progress 9
* bla bla proud of our progress 10
* bla bla proud of our progress 11
* slightly better handling of non-cf case
* update snapshots
* some more work on request logger
* child approach
* cds stuff
* update tests
* switch to loggerV2
* remove dependency
* more changes to incorporate new Logger
* fix cds context reading bugs
* add level_name enum and logging for subdomain if present
* test fixes
* new todos and consolidate logger
* progress 1
* lots of changes after discussions with max and make _ts nanos
* tests and logger api changes
* add instance id field
* help intellisense autocomplete
* readable => format
* lil cleanup pass
* readable level should be uppercase
* update snapshots where readable levels are uppercase
* fix component instance approach
* keep it in the js number range
* convert instance index to an integer
* explain hrtime trick
* wording
* more proofreading
* only log error info if it has content
* remove unneeded mocking
* remove main TODO for this PR
* better mocking for cfEnv
* move up tryRequire to other requires1 parent cf01882 commit ee8aa12
File tree
12 files changed
+732
-4440
lines changed- src
- test
- __mocks__
12 files changed
+732
-4440
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 3 | | |
7 | 4 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 5 | + | |
15 | 6 | | |
16 | 7 | | |
17 | 8 | | |
18 | 9 | | |
19 | 10 | | |
20 | 11 | | |
21 | 12 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 13 | + | |
36 | 14 | | |
37 | 15 | | |
38 | 16 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
42 | 23 | | |
43 | 24 | | |
44 | 25 | | |
| |||
47 | 28 | | |
48 | 29 | | |
49 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
50 | 34 | | |
51 | 35 | | |
52 | 36 | | |
53 | 37 | | |
54 | 38 | | |
55 | 39 | | |
56 | 40 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 41 | | |
66 | 42 | | |
67 | 43 | | |
| |||
76 | 52 | | |
77 | 53 | | |
78 | 54 | | |
79 | | - | |
| 55 | + | |
| 56 | + | |
80 | 57 | | |
81 | 58 | | |
82 | 59 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
97 | 95 | | |
98 | 96 | | |
99 | 97 | | |
100 | | - | |
| 98 | + | |
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
| |||
125 | 123 | | |
126 | 124 | | |
127 | 125 | | |
128 | | - | |
| 126 | + | |
129 | 127 | | |
130 | 128 | | |
131 | 129 | | |
| |||
221 | 219 | | |
222 | 220 | | |
223 | 221 | | |
224 | | - | |
| 222 | + | |
225 | 223 | | |
226 | 224 | | |
227 | 225 | | |
| |||
0 commit comments