(config, roleSettings = {}, appSettings = {})
| 461 | } |
| 462 | |
| 463 | export function resolveApplicationLogChannel(config, roleSettings = {}, appSettings = {}) { |
| 464 | return roleSettings.logChannelId |
| 465 | || config?.logging?.channels?.applications |
| 466 | || appSettings.logChannelId |
| 467 | || null; |
| 468 | } |
| 469 | |
| 470 | export { EVENT_TYPES, EVENT_COLORS, EVENT_ICONS, LOG_DESTINATIONS }; |
no outgoing calls
no test coverage detected