(bizName: string)
| 93 | }; |
| 94 | |
| 95 | const getColor = (bizName: string) => { |
| 96 | if (!bizNameColorConfig[bizName]) { |
| 97 | const color = bizNameColors[Object.keys(bizNameColorConfig).length % bizNameColors.length]; |
| 98 | bizNameColorConfig[bizName] = color; |
| 99 | } |
| 100 | return bizNameColorConfig[bizName]; |
| 101 | }; |
| 102 | |
| 103 | const getLogArgs = (args: any, bizName: string, logLevel: string) => { |
| 104 | const color = getColor(bizName); |
no outgoing calls
no test coverage detected
searching dependent graphs…