|
1 | | -import { logger } from '@appium/support'; |
2 | 1 | import { Socket } from 'node:net'; |
3 | 2 | import tls, { type ConnectionOptions, TLSSocket } from 'tls'; |
4 | 3 |
|
5 | 4 | import { BasePlistService } from '../../base-plist-service.js'; |
| 5 | +import { getLogger } from '../logger.js'; |
6 | 6 | import { type PairRecord } from '../pair-record/index.js'; |
7 | 7 | import { PlistService } from '../plist/plist-service.js'; |
8 | 8 | import type { PlistMessage, PlistValue } from '../types.js'; |
9 | 9 | import { RelayService, createUsbmux } from '../usbmux/index.js'; |
10 | 10 |
|
11 | | -const log = logger.getLogger('Lockdown'); |
| 11 | +const log = getLogger('Lockdown'); |
12 | 12 |
|
13 | 13 | // Constants |
14 | 14 | const LABEL = 'appium-internal'; |
@@ -86,7 +86,7 @@ class DeviceNotFoundError extends Error { |
86 | 86 |
|
87 | 87 | // TLS Manager for handling TLS operations |
88 | 88 | class TLSManager { |
89 | | - private readonly log = logger.getLogger('TLSManager'); |
| 89 | + private readonly log = getLogger('TLSManager'); |
90 | 90 |
|
91 | 91 | /** |
92 | 92 | * Upgrades a socket to TLS |
@@ -127,7 +127,7 @@ class TLSManager { |
127 | 127 |
|
128 | 128 | // Device Manager for handling device operations |
129 | 129 | class DeviceManager { |
130 | | - private readonly log = logger.getLogger('DeviceManager'); |
| 130 | + private readonly log = getLogger('DeviceManager'); |
131 | 131 |
|
132 | 132 | /** |
133 | 133 | * Lists all connected devices |
|
0 commit comments