You can enable logs in JS when instantiating the chat client
// instantiate client with logs
const serverClient = StreamChat.getInstance(appKey, secret, {
logger: (logLevel, message, extraData) => {
console.log(logLevel, message, extraData);
}
});
You can enable logs in JS when instantiating the chat client
// instantiate client with logs
const serverClient = StreamChat.getInstance(appKey, secret, {
logger: (logLevel, message, extraData) => {
console.log(logLevel, message, extraData);
}
});
Comments
0 comments
Please sign in to leave a comment.