Fix the subscrptions print
This commit is contained in:
parent
b10938c90a
commit
0cbca5f4c0
|
@ -553,10 +553,10 @@ print({ClientId, _ClientPid, _Persistent, SessInfo}) ->
|
|||
"deliver_msg=~w, enqueue_msg=~w, created_at=~w)~n",
|
||||
[ClientId | [format(Key, get_value(Key, Data)) || Key <- InfoKeys]]).
|
||||
|
||||
print(subscription, {Sub, Topic}) when is_pid(Sub) ->
|
||||
?PRINT("~p -> ~s~n", [Sub, Topic]);
|
||||
print(subscription, {Sub, {_Share, Topic}}) when is_pid(Sub) ->
|
||||
?PRINT("~p -> ~s~n", [Sub, Topic]);
|
||||
print(subscription, {Sub, Topic}) when is_pid(Sub) ->
|
||||
?PRINT("~p -> ~s~n", [Sub, Topic]);
|
||||
print(subscription, {Sub, {_Share, Topic}}) ->
|
||||
?PRINT("~s -> ~s~n", [Sub, Topic]);
|
||||
print(subscription, {Sub, Topic}) ->
|
||||
|
|
Loading…
Reference in New Issue