log any error to the console.
this.api.getLogger().error("Something went wrong here!");
Last updated 3 years ago