(...label: LogLabel[][])
| 12 | }; |
| 13 | |
| 14 | function buildLabel(...label: LogLabel[][]): LogLabel { |
| 15 | const ret: LogLabel = {}; |
| 16 | label.forEach((item) => { |
| 17 | item.forEach((item2) => { |
| 18 | Object.keys(item2).forEach((key) => { |
| 19 | ret[key] = item2[key]; |
| 20 | }); |
| 21 | }); |
| 22 | }); |
| 23 | return ret; |
| 24 | } |
| 25 | |
| 26 | export default class Logger { |
| 27 | core: LoggerCore; |