(level: Level, msg: string, fields: Record<string, unknown>)
| 53 | } |
| 54 | |
| 55 | function emit(level: Level, msg: string, fields: Record<string, unknown>): void { |
| 56 | if (LEVELS[level] < minLevel) return; |
| 57 | write(level, msg, fields, true); |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Routine connection-lifecycle events (attach / detach / upgrade) — high |