beforeExit
beforeExit: (fn: () => void) => () => void
getDefaultLogLevel
getDefaultLogLevel: () => null | number
getDeviceModel
getDeviceModel: () => string
Optional
isOnline
isOnline?: () => boolean
log
log: (
color: number,
level: number,
tag: string,
fmt: string,
args: unknown[],
) => void
Optional
normalizeFile
Optional
onNetworkChanged
onNetworkChanged?: (fn: (connected: boolean) => void) => () => void