connectViewer static method
Implementation
static LogError connectViewer(
{required String address,
void Function(LogError)? onConnect,
void Function(dynamic)? onReceive,
void Function(String)? onError}) {
return isCriticalMode
? LogError(-5, message: 'is in critical mode')
: loggerManager.connectViewer(
address: address,
onConnect: onConnect,
onReceive: onReceive,
onError: onError);
}