unregisterPlugin method
Unregisters plugin
from this logger instance.
Implementation
void unregisterPlugin(AWSLoggerPlugin plugin) {
final currentSubscription = _subscriptions.remove(plugin);
if (currentSubscription != null) {
unawaited(currentSubscription.cancel());
}
}