File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/stream_feed/lib/src/client Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class StreamFeedClientImpl implements StreamFeedClient {
4141 this .appId,
4242 this .fayeUrl = 'wss://faye-us-east.stream-io-api.com/faye' ,
4343 this .runner = Runner .client,
44- Level logLevel = Level .WARNING ,
44+ this . logLevel = Level .WARNING ,
4545 LogHandlerFunction ? logHandlerFunction,
4646 StreamAPI ? api,
4747 StreamHttpClientOptions ? options,
@@ -87,6 +87,7 @@ class StreamFeedClientImpl implements StreamFeedClient {
8787 return true ;
8888 }
8989
90+ final Level logLevel;
9091 final String apiKey;
9192 final String ? appId;
9293 Token ? userToken;
@@ -123,7 +124,7 @@ class StreamFeedClientImpl implements StreamFeedClient {
123124 },
124125 };
125126
126- late final FayeClient _faye = FayeClient (fayeUrl)
127+ late final FayeClient _faye = FayeClient (fayeUrl, logLevel : logLevel )
127128 ..addExtension (_authExtension);
128129
129130 late final _subscriptions = < String , _FeedSubscription > {};
You can’t perform that action at this time.
0 commit comments