Silencing warnings and errors from Game client

I had been aware of Evelyn’s old response to this question, found here, but it appears that game.logger does not exist on the current client.

Anyone found a work around, or anyone from Gather know if there is a way to suppress console messages? Mostly just want to be able to debug specific issues, and not weed through large console logs.

import {logger} from "@gathertown/gather-game-client"

logger.enabled = {
    error: false,
    warn: false,
    log: false,
    debug: false,

should do it

1 Like