Updated logging
This commit is contained in:
parent
150200c8cf
commit
ee14b046fa
2 changed files with 17 additions and 4 deletions
|
|
@ -207,7 +207,7 @@ export function createTransportClient<T extends SchemaMap>(
|
|||
*/
|
||||
const handleIncomingMessage = (message: TypedMessage) => {
|
||||
if (message.type !== "pong") {
|
||||
log(2, "ttp", "cyan", "Received:", message.type, message.data, {
|
||||
log(2, "ttp", "cyan", "Received: " + message.type, message.data, {
|
||||
id: message.id,
|
||||
});
|
||||
}
|
||||
|
|
@ -586,7 +586,7 @@ export function createTransportClient<T extends SchemaMap>(
|
|||
);
|
||||
|
||||
if (type !== "ping") {
|
||||
log(2, "ttp", "gray", "Sent:", type, payload, { id: requestId });
|
||||
log(2, "ttp", "gray", "Sent: " + type, payload, { id: requestId });
|
||||
}
|
||||
|
||||
const messageBytes = encodeCommunicationMessage({
|
||||
|
|
|
|||
Loading…
Reference in a new issue