Automattic / Automattic/node-canvas

Granular logging support

Open
#1,867 0 comments 0 reactions 0 assignees View on GitHub
Text & Fonts
Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
Avg merge
4d 8h
Merged PRs (30d)
1

Description

## Feature
There doesn't seem a way to toggle logging properly. I am getting some warnings about a missing font, but I'd like to be able to mute them or better pipe them into winston (for example).

## Steps to Reproduce
```js
var Canvas = require('canvas');
var canvas = Canvas.createCanvas(200, 200);
var ctx = canvas.getContext('2d');
ctx.font = '200px somemissingfont'
```

## Your Environment
* Version of node-canvas: canvas@2.8.0
* Environment: Node 14.15.5 on Windows 11

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.